23.03.2011, 12:58
Hello.
I have an IRC Admin system. Every command is protected with the following code, so only "NICK" can use this command.
Now I have a problem, when an IRC user changes his name to "NICK1" etc, he can also use this command.
So, if a player has "NICK" in his username, he can use this command, somebody know how to do it that only I can use this?
I have an IRC Admin system. Every command is protected with the following code, so only "NICK" can use this command.
pawn Код:
if(strfind(user,"NICK",true,0)!= -1)
So, if a player has "NICK" in his username, he can use this command, somebody know how to do it that only I can use this?