Re: OMGzcmd [/random] « Reply #3 on Nov 21, 2008, 7:45pm »
I only mean, everyone use strtok, because it works fine and its great. So why use another function which is new, in beta, but its nearly the same? I never tried to make a new funtion like strtok because strtok is good as it is, I dont need a new function or improve of strtok. But good work
Re: OMGzcmd [/random] « Reply #4 on Nov 21, 2008, 8:18pm »
Actually, everyone uses dcmd. There is also ycmd and irccmd. Seif said there will soon be a seifcmd.
Also, for how much they are like each other, your kidding, right? The only thing the same about them is how you use them. And using them, zcmd is a little better, because it's more straight forward.
Re: OMGzcmd [/random] « Reply #5 on Nov 21, 2008, 9:20pm »
your function is related to strtok, not dcmd. Dcmd isnt related to strtok, its s.th totally new. So you cant compare Dcmd ycmd with yours.
And I never said that they are all like each other, I said that your is like strtok. I dont care about "straight forward", strtok is straight forward enough. I care about speed and performence. DCMS, YCMD all of them has better performence and speed than a normal command. And you all use them a different way. zcmd is related to strtok, no more speed, not a better performance. And you cant really call it a new "cmd", because zcmd is like a normal command.
Code:
//the message is the second "2" var //the easy var distinguish is why I think zcmd would win over strtok //vars can go as high as you like (as long as it suites OnPlayerCommandText)
}
For this you use "strval". With strval you can go as high as you like, too. The only good thing in your zcmd, is that it is "strval" and "strtok" in one. But its ok to use it on your own. Own things are better for you scripts.
Re: OMGzcmd [/random] « Reply #6 on Nov 23, 2008, 3:04pm »
strval means String Value, and is not related to strtok.
This is getting stupid, I'm not here to make a new major command, I'm here to prove to myself I can actually script something as good or better then what "everyone else uses".