19.06.2009, 10:51
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?
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?