using System; using System.Collections.Generic; using System.Text; using Meebey.SmartIrc4net; namespace ITSBOT { enum CommandType { MSG = 2, PM = 4, ACTION = 8 } /// /// Base for all commands /// abstract class Command { CommandType type; int level; /// /// Constructor /// Command() { } /// /// Run, called when the command is used /// /// The client /// Arguments public void Run(IrcClient client, IrcEventArgs args) { } /// /// The description /// public string Description { get { return ""; } } /// /// The name /// public string Name { get { return ""; } } public string GetHelp(string arg) { return ""; } } }