25.08.2011, 05:43
Hi guys, so I'm having trouble with strtok (I'm using strcmp, not DCMD or anything, and that's what I wanna use so please don't try and convince me otherwise). I don't know how to define the first entered number, then the second, and then the third etc.
So an example of a command I'm looking for is e.g. "/example 1 3 4 6", and so that would send the client a message or whatever, with "1 3 4 6".. do you understand? I don't know how to define each thing after the first "strval(tmp)".
So an example of a command I'm looking for is e.g. "/example 1 3 4 6", and so that would send the client a message or whatever, with "1 3 4 6".. do you understand? I don't know how to define each thing after the first "strval(tmp)".