Small dcmd questions!
#1

Is it possible to do something like this, in dcmd?
if(strcmp(cmd,"/r",true) == 0 || strcmp(cmd,"/fix",true) == 0 || strcmp(cmd,"/vr",true) == 0)

Also i'm trying to convert this admin cmd, into dcmd. ( Admin chat command! )
if(strcmp(cmd, "//", true) ==0)
But I don't think dcmd likes the "/" Because I get all sorts of errors, when trying to compile?

Any help or advice, is appreciated!
Reply


Messages In This Thread
Small dcmd questions! - by Djiango - 20.04.2009, 11:22
Re: Small dcmd questions! - by MenaceX^ - 20.04.2009, 12:25
Re: Small dcmd questions! - by Djiango - 20.04.2009, 12:42
Re: Small dcmd questions! - by Simon - 20.04.2009, 12:50
Re: Small dcmd questions! - by Djiango - 20.04.2009, 13:04

Forum Jump:


Users browsing this thread: 2 Guest(s)