// Code to run when used by the console public override void Use(string message) { IRCBot.Reset(); Logger.Log("IRC Bot Reset", LogType.ConsoleOutput); }
// 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); }