13.07.2011, 13:35
That's a workaround, not a fix. The problem is in this line really:
if(strcmp("/tinnogate", cmdtext, true, 10) == 0)
This only compares the first 10 characters of the command, hence when you type /tinnogate1 (11 characters) it only compares to /tinnogate (10 characters). Just remove that last parameter from all commands and you should be fine.
if(strcmp("/tinnogate", cmdtext, true, 10) == 0)
This only compares the first 10 characters of the command, hence when you type /tinnogate1 (11 characters) it only compares to /tinnogate (10 characters). Just remove that last parameter from all commands and you should be fine.