public override string Run(McTcpClient handler, string command) { if (hasArg(command)) { handler.BotLoad(new ChatBots.Script(getArg(command))); return ""; } else return CMDDesc; }
public override string Run(McTcpClient handler, string command, Dictionary <string, object> localVars) { if (hasArg(command)) { handler.BotLoad(new ChatBots.Script(getArg(command), null, localVars)); return(""); } else { return(CMDDesc); } }
public override string Run(McTcpClient handler, string command) { if (hasArg(command)) { handler.BotLoad(new ChatBots.Script(getArg(command))); return(""); } else { return(CMDDesc); } }