DCMD question
#1

lets say i have that command:

if(strcmp(cmd, "/ooc", true) == 0 || strcmp(cmd, "/o", true) == 0)

it has 2 ways to be called: /ooc or /o.

can i make ONE dcmd function that will do it? (2 command names for one function)?
if so, how?
Reply


Messages In This Thread
DCMD question - by BSMan - 19.06.2009, 10:51
Re: DCMD question - by Vince - 19.06.2009, 10:56
Re: DCMD question - by BSMan - 19.06.2009, 11:23
Re: DCMD question - by kaisersouse - 19.06.2009, 13:24
Re: DCMD question - by BSMan - 19.06.2009, 13:38
Re: DCMD question - by yezizhu - 19.06.2009, 14:47
Re: DCMD question - by BSMan - 19.06.2009, 15:08

Forum Jump:


Users browsing this thread: 1 Guest(s)