03.05.2011, 16:49
Quote:
When you do !setlevel 0 1 then cmd[] = "!setlevel 0 1"
sscanf sees that "!setlevel" is not a number and gives an error. If you use quiet, it will skip this part and go to "0 1" |
So i could do even if ( sscanf( cmd[ strlen("!setlevel") ], ... )
Right? Of course i would change with the right value instead of using strlen.
Thanks!