Little Script Idea

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:

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.
 
Back
Top