SAFE Online Community
« OMGzcmd [/random] »

Welcome Guest. Please Login or Register.
Dec 21, 2009, 11:52pm



Moving to SMF forums. Click Here!
This forum is now closed.

SAFE Online Community :: News :: Scripting news :: OMGzcmd [/random]
   [Search This Thread][Send Topic To Friend] [Print]
 AuthorTopic: OMGzcmd [/random] (Read 82 times)
Zezombia
Spammer
*****
member is offline

[avatar]



Joined: Jun 2008
Gender: Male
Posts: 729
Karma: 4
 OMGzcmd [/random]
« Thread Started on Nov 21, 2008, 2:49pm »

http://wiki.sa-mp.com/wiki/Zcmd

OMGhax.
« Last Edit: Nov 21, 2008, 2:50pm by Zezombia »Link to Post - Back to Top  IP: Logged

COOLEST THING EVER - a MUST see!


"Life's a huge joke,
I'm just waiting for the punch line"
- Austin M. Desmond (2008)
remis
Spammer
*****
member is offline





Joined: Jun 2008
Gender: Male
Posts: 338
Karma: 0
 Re: OMGzcmd [/random]
« Reply #1 on Nov 21, 2008, 3:51pm »

aha, nothing really new :P
Link to Post - Back to Top  IP: Logged
Zezombia
Spammer
*****
member is offline

[avatar]



Joined: Jun 2008
Gender: Male
Posts: 729
Karma: 4
 Re: OMGzcmd [/random]
« Reply #2 on Nov 21, 2008, 7:24pm »

Nothing you could do :P. Looks simple enough, it was surprisingly uncomfortable to make.
« Last Edit: Nov 21, 2008, 7:28pm by Zezombia »Link to Post - Back to Top  IP: Logged

COOLEST THING EVER - a MUST see!


"Life's a huge joke,
I'm just waiting for the punch line"
- Austin M. Desmond (2008)
remis
Spammer
*****
member is offline





Joined: Jun 2008
Gender: Male
Posts: 338
Karma: 0
 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 :P
Link to Post - Back to Top  IP: Logged
Zezombia
Spammer
*****
member is offline

[avatar]



Joined: Jun 2008
Gender: Male
Posts: 729
Karma: 4
 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.
« Last Edit: Nov 21, 2008, 8:23pm by Zezombia »Link to Post - Back to Top  IP: Logged

COOLEST THING EVER - a MUST see!


"Life's a huge joke,
I'm just waiting for the punch line"
- Austin M. Desmond (2008)
remis
Spammer
*****
member is offline





Joined: Jun 2008
Gender: Male
Posts: 338
Karma: 0
 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.
« Last Edit: Nov 22, 2008, 7:51am by remis »Link to Post - Back to Top  IP: Logged
Zezombia
Spammer
*****
member is offline

[avatar]



Joined: Jun 2008
Gender: Male
Posts: 729
Karma: 4
 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".

Locked.
« Last Edit: Nov 23, 2008, 3:06pm by Zezombia »Link to Post - Back to Top  IP: Logged

COOLEST THING EVER - a MUST see!


"Life's a huge joke,
I'm just waiting for the punch line"
- Austin M. Desmond (2008)
   [Search This Thread][Send Topic To Friend] [Print]

Google
Websfsfforum.proboards.com
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!