Making a command with a space and making the same one without a space.
#1

Yeah, the title is a bit dumb, sorry.

Well, what I want to make a is something like: /radio and /radio help.
So, in the beginning I used !strcmp(params, "help") in an if statement and an else statement after it.
But then I'd get myself that everytime I type /radio or /radio klsdgnsdjgsg I'd get the same result, which was expectable. ( using ZCMD )

So, I wanted to know if there is any way of doing what I wanted to do.

Thank you in advance.

- Denying
Reply


Messages In This Thread
Making a command with a space and making the same one without a space. - by Denying - 03.04.2013, 03:53
Re: Making a command with a space and making the same one without a space. - by RajatPawar - 03.04.2013, 08:16
Re: Making a command with a space and making the same one without a space. - by Denying - 03.04.2013, 11:38

Forum Jump:


Users browsing this thread: 1 Guest(s)