Ohai guys. I was looking around Smogon's Server Scripts, and /commands work fine. But when i used /COMMANDS it doesn't work. just a little heads up to fix you want.
It might have something to do with:
Well anyways most Server's Script will work if you use CAPS, ect.
But yeah. you guys might be using:
or
Which causes this [HIGHLIGHT]/COMMANDS[/HIGHLIGHT] error.
It might have something to do with:
PHP:
}
if(command == "commands") {
Well anyways most Server's Script will work if you use CAPS, ect.
But yeah. you guys might be using:
Code:
message.toLowerCase()
or
Code:
.indexOf()
Which causes this [HIGHLIGHT]/COMMANDS[/HIGHLIGHT] error.