Guangcong Luo
8b25a865b9
Support /groups room and /groups global
...
Closes #3086
2017-02-24 00:53:16 -06:00
Kris Johnson
621b737ca3
info.js: add Ash-Greninja exception ( #3282 )
2017-02-23 18:25:58 -06:00
sparktrain
ee5f31bc71
Fix /caphelp ( #3275 )
...
Switch the HTML to unicode so the é displays correctly
2017-02-22 22:37:45 -06:00
spekss
dded0aa952
Replace <b> with <strong> in /groups ( #3237 )
2017-02-15 23:38:14 -06:00
spekss
5b1ceae9df
Add bold in /punishments ( #3236 )
2017-02-15 23:37:56 -06:00
spekss
38842e957d
Add badge faq ( #3084 )
...
(http://www.smogon.com/badge_faq )
2017-02-10 16:50:28 -06:00
Guangcong Luo
6e100ee5b7
Add /punishments
...
This is just a generic punishments list. Feel free to pullreq
improvements.
Closes #3200
2017-02-10 17:11:06 -05:00
Guangcong Luo
81f13a18f1
Add user groups to /whoare
...
Specifically, user groups are now in /checkpunishment, which has been
renamed /offlinewhois. It doesn't actually function as an offline /whois
since it still requires auth.
Maybe making it not require auth should be a project to put in Ideas.
2017-02-10 17:10:15 -05:00
sparktrain
9568791e76
Update /cap ( #3187 )
...
Update with link to the current sample team thread
2017-01-25 02:42:27 -05:00
Kris Johnson
ed4227a22d
info.js: update /smogdex ( #3070 )
2017-01-02 10:27:43 -08:00
Bär Halberkamp
0c4f648ba6
Make ip-based room punishments show up on /ip
2016-12-30 02:58:03 +01:00
Bär Halberkamp
37205d9b24
Implement /sharedip ( #2870 )
...
* Implement /markshared
* Refactor /whois ips to two lines
* Refactor splitTarget
2016-12-25 14:26:17 -08:00
Spandan
36c1e35626
Update /om ( #3043 )
...
This one links to the new OM C&C forum.
2016-12-22 23:52:41 +04:00
Spandan
6a1624603e
Update /om ( #3042 )
...
It should redirect to the Gen 7 OM forums
2016-12-22 01:54:57 +04:00
Ana Rita Torres
8d9b980cb9
Add servertime command ( #3038 )
2016-12-19 07:53:17 -08:00
Marty-D
3c9d6c2687
Correct crit ratio boosting Z-Effect
2016-12-18 11:06:55 -05:00
urkerab
1f9a6193df
Don't match against generation prefix if it wasn't provided ( #3020 )
2016-12-13 02:21:28 -08:00
panpawn
7b4a482373
Data: Remove unneeded constructor hack check ( #3019 )
2016-12-11 20:34:55 -08:00
spekss
21d6bd8521
Add /tour banlist in /roomhelp ( #3006 )
...
* Add /tour banlist in /roomhelp
2016-12-11 21:24:35 +01:00
panpawn
51c6567975
Standardize using <br /> instead of variations ( #3009 )
...
Across PS, in most places we use <br /> - however, in some other places we used <br> and in some <br/>. This standardizes that to simply be <br />, since that's what we use in the majority of places.
2016-12-11 04:34:07 -05:00
panpawn
7c12efc594
Checkpunishments: Mark truly offline users only ( #2995 )
...
The user object could of just not yet expired, but they also might not be online, which is why this is necessary
2016-12-06 12:31:51 -06:00
Charlie Kobayashi
6a7d27e6ac
checkpunishment: Fix checking for offline users ( #2991 )
...
- It returns nothing in the case the user does not exist in the map
2016-12-05 15:11:55 -06:00
asgdf
2d2c4d1f06
Fix room punishment checking ( #2990 )
2016-12-05 14:45:10 +01:00
Bär Halberkamp
71b8ee0f87
Don't display "(offline)" for online users in /checkpunishment
2016-12-03 17:55:28 +01:00
panpawn
62760c3836
Rename unclear variable in Chat#toDurationString ( #2971 )
...
This renames 'limit' -> 'precision'.
2016-11-30 19:56:19 -06:00
Marty-D
ed86f0bad4
Remove Contest categories from move details
...
They don't exist anymore.
2016-11-29 22:12:36 -05:00
Bär Halberkamp
8fce8c2633
Refactor /whois and /checkpunishment ( #2967 )
...
Also add a Punishment monitor
2016-11-29 19:18:24 -06:00
panpawn
62d6800eff
Whois: Add hover room title to battle rooms ( #2960 )
...
This will tell a user who the battle is against (if it's a battle room) by hovering over it, kind of like how user-popups work.
2016-11-29 13:13:05 -06:00
Marty-D
1ddf9180b3
Add Z-Move info to /dt
2016-11-24 18:50:43 -05:00
InactiveUser
0a7689b6c9
Reword htmlbox help ( #2910 )
...
* Reword htmlbox help
I think the way it was before kind of confusing, especially with the not rank part, hopefully this helps?
* Removed *
2016-11-22 13:01:58 -06:00
The Immortal
e8cac27e55
Fix b137faf
2016-11-20 05:24:09 +04:00
Bär Halberkamp
b137faf5ed
Make using 'max' in /statcalc also set boosting nature
2016-11-20 01:27:11 +01:00
Ivo Julca
4fa6c5499b
Build: Fix issues reported by the latest Eslint version
2016-11-17 14:27:39 -05:00
Bär Halberkamp
61b03fff04
Fix /checkpunishment giving results for names with toId(target) === ''
2016-11-15 16:03:53 +01:00
Bär Halberkamp
ba7470f3eb
Show the command that's actually being used when failing a permission check in /whois
2016-11-15 16:03:53 +01:00
panpawn
fae82aa78f
Update a few help commands ( #2877 )
...
-Moves groupshelp up a line, and also slightly reword it
-Moves statcalchelp up a line
2016-11-07 23:17:29 -08:00
etienne maury
5eb4c4a42e
add room rank and global rank on /groups ( #2875 )
2016-11-05 03:06:40 -07:00
panpawn
da7fbe031b
Checkpunishment: Don't use target id in UI ( #2863 )
...
This makes it more streamlined to how `/whois` looks
2016-10-29 00:04:20 -05:00
Guangcong Luo
22c6342c00
Support offline users in /alts
...
/alts now delegates to a new command /checkpunishment, if passed an
unknown username. This allows mods to check offline users for active
punishments.
2016-10-23 22:00:49 -04:00
Nixola
a99992c14c
Added third type to /weakness ( #2851 )
...
* Added third type to /weakness
In case of Trick-or-Treat or Forest's Curse, a pokémon can have three types. I updated the /weakness command to reflect that.
* Fixed Travis' warning and error
2016-10-22 18:36:41 -05:00
Guangcong Luo
87c41eb67c
Rename simulator.js to room-battle.js
...
simulator.js doesn't actually contain the simulator, but is really just
an implementation of battles in the RoomGame interface.
Renames:
`Simulator.Battle` -> `Rooms.RoomBattle`
`Simulator.BattlePlayer` -> `Rooms.RoomBattlePlayer`
`Simulator.SimulatorManager` -> `Rooms.SimulatorManager`
`Simulator.SimulatorProcess` -> `Rooms.SimulatorProcess`
`Simulator.create` -> no longer exists, use `new Rooms.RoomBattle(...)`
2016-10-21 13:21:12 -05:00
Guangcong Luo
d84d06a8d2
Add !optionsbutton and !soundsbutton
2016-10-20 21:31:52 -04:00
The Immortal
7193860ac1
Analysis: Fix BH links
2016-10-16 05:24:12 +04:00
panpawn
8ab309ae74
Add missing linebreak in /opensource ( #2833 )
2016-10-10 03:21:54 +04:00
panpawn
76285471a0
Fix double errorReply while muted in some cases ( #2830 )
...
Due to the recent refactor that changed how `this.canTalk` works, if a user was muted in a room, and then tried to do a command that wasn't allowed to be used if they can't talk, it would send two replies: "You are muted and cannot talk in this room." AND "You cannot do this while unable to talk."
This makes it so that if you're using a command while muted that isn't allowed to be used if you can't talk, it will just use the "You are muted and cannot talk in this room." errorReply.
2016-10-08 20:58:16 -07:00
panpawn
420e28ce91
Chat: Tell locked users their lock duration ( #2823 )
...
This also adds `Punishments#checkLockExpiration` - mostly for this, but also to remove some repetitive code in the whois command as well.
2016-10-04 23:52:19 -07:00
panpawn
7022704bf8
Add Dex repository to /opensource ( #2809 )
...
Apparently, a lot of people still don't know this is a thing, so this might be a good way of making people know it's actually a thing.
2016-10-02 22:04:58 -07:00
Guangcong Luo
f95276573a
Fix crash in /bugs
2016-10-02 13:35:38 -07:00
sirDonovan
fafb2c1099
Fix crashes in datasearch commands
...
Loading data on the main process was accidentally removed in
64fa2b9801
2016-10-02 15:08:03 -05:00
The Immortal
88a1961f86
Remove Other Metagame of the Month link from /om
2016-10-02 18:10:50 +04:00