03.08.2010, 07:54
I only do the commands using ' cmd '
, not ' cmdtext '
. And cmd needs strtok
Code:
if(strcmp(cmd,"/me",true) == 0)
Code:
if(strcmp("/me",cmdtext) == 0)
Code:
new cmd[256],idk; cmd = strtok(cmdtext,idx);