Bug with strcmp?
#3

It works but the else statement is still necessary (if I type /anim f, or some random text it does or shows nothing without the else).

I guess that fixes it, but logically if I check for "hello" then do..., else if "goodbye" then do...., else do.....

It should be impossible for "" or " " to do anything other than execute the else statement. It also means I repeat the same message twice in the function when there shouldn't be a need. Maybe I can fix up strcmp myself.

It's fixed for now though, thanks mate!
Reply


Messages In This Thread
Bug with strcmp? - by GrimR - 29.09.2011, 02:36
Re: Bug with strcmp? - by Lorenc_ - 29.09.2011, 03:58
Re: Bug with strcmp? - by GrimR - 29.09.2011, 04:17
Re: Bug with strcmp? - by $India$ - 29.09.2011, 04:55
Re: Bug with strcmp? - by Lorenc_ - 29.09.2011, 05:05
Re: Bug with strcmp? - by $India$ - 29.09.2011, 05:13
Re: Bug with strcmp? - by GrimR - 29.09.2011, 08:39
Re: Bug with strcmp? - by leong124 - 29.09.2011, 08:56
Re: Bug with strcmp? - by GrimR - 29.09.2011, 10:35
Re: Bug with strcmp? - by Jochemd - 29.09.2011, 14:51

Forum Jump:


Users browsing this thread: 1 Guest(s)