Length of variable
#5

Quote:
Originally Posted by ******
Посмотреть сообщение
Basically that's because whoever wrote the "strrest" function that you are using didn't follow that advice either. Anyway, you are MUCH better off learning y_commands (or ZCMD) and sscanf for writing commands - they make the whole thing vastly easier. Anyway, "strrest" is a completely pointless function as "cmdtext" already contains all the rest of itself so there's no need at all to copy it to another variable.
But the usage is /kick [id] [reason] so the id takes the cmdtext spot, I need a new one for the reason.
And yeah I'll learn ycmd sometime soon.
Reply


Messages In This Thread
Length of variable - by Tomer!.$ - 05.04.2012, 19:19
Re: Length of variable - by Marricio - 05.04.2012, 19:39
Re: Length of variable - by Tomer!.$ - 05.04.2012, 19:44
Re: Length of variable - by Marricio - 05.04.2012, 19:47
Re: Length of variable - by Tomer!.$ - 05.04.2012, 19:59

Forum Jump:


Users browsing this thread: 1 Guest(s)