Joke command
#10

Quote:
Originally Posted by CoaPsyFactor
Посмотреть сообщение
wtf is this guy asked for random joke, and wtf is with strcmp("/tellmeajoke", cmdtext, true, 10), you can do

cmd = strtok(cmdtext, idx); and then strcmp(cmd, "/telljoke", true)
Read the scripting basics before posting PLEASE, and don't post crap like this. Strtok is for Multi-Parameter commands... If you don't know what are you talking about, don't post, if you didn't notice, this command doesn't use strtok at all...

The guy asked for a command that shows him a random joke.

About unreachable code warning, post the code.
Reply


Messages In This Thread
Joke command - by ColdIce - 05.06.2011, 16:18
Re: Joke command - by geerdinho8 - 05.06.2011, 16:22
Re: Joke command - by ColdIce - 05.06.2011, 16:24
Re: Joke command - by ColdIce - 05.06.2011, 16:29
Re: Joke command - by sleepysnowflake - 05.06.2011, 16:32
Re: Joke command - by geerdinho8 - 05.06.2011, 16:32
Re: Joke command - by ColdIce - 05.06.2011, 16:32
Re: Joke command - by Mean - 05.06.2011, 16:33
Re: Joke command - by CoaPsyFactor - 05.06.2011, 17:06
Re: Joke command - by Mean - 05.06.2011, 17:18

Forum Jump:


Users browsing this thread: 1 Guest(s)