Esempio n. 1
0
 // Code to run when used by the console
 public override void Use(string message)
 {
     IRCBot.Reset();
     Logger.Log("IRC Bot Reset", LogType.ConsoleOutput);
 }
Esempio n. 2
0
 // Code to run when used by a player
 public override void Use(Player p, string message)
 {
     IRCBot.Reset();
     p.SendMessage("IRC Bot reset");
     Logger.Log("IRC Bot Reset by " + p.name);
 }