public override string Run(McTcpClient handler, string command)
 {
     if (hasArg(command))
     {
         handler.BotLoad(new ChatBots.Script(getArg(command)));
         return "";
     }
     else return CMDDesc;
 }
Esempio n. 2
0
 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);
     }
 }
Esempio n. 3
0
 public override string Run(McTcpClient handler, string command)
 {
     if (hasArg(command))
     {
         handler.BotLoad(new ChatBots.Script(getArg(command)));
         return("");
     }
     else
     {
         return(CMDDesc);
     }
 }