Posts: 639
Threads: 92
Joined: Jul 2011
Reputation:
0
Alright, I am using ZCMD as my current command processor and have noticed that if you type an incorrect command, nothing is said to state such. Is there a way for if an unknown command is entered to state such?
Kind Regards,
Nmader
Posts: 386
Threads: 10
Joined: May 2012
Reputation:
0
Do you have return 1; as a value return in the command(s)?
Posts: 639
Threads: 92
Joined: Jul 2011
Reputation:
0
Wouldn't that only do it for that one command and state all the other commands as unrecognized?
Posts: 386
Threads: 10
Joined: May 2012
Reputation:
0
You must return 1; at all commands if you want them to be recognized.
Posts: 316
Threads: 61
Joined: Jul 2012
Reputation:
0
DUDE! did i say make it on 1 commdand i just showed u a sample to use apply it to all commands now and dont forget to put it before return 1; and at the end of each command to Let the server know that this was a valid command
Posts: 1,241
Threads: 304
Joined: May 2012
Reputation:
0
update your zcmd and sscanf.