public static void Register(Channel c) { foreach (string str in c.Commands) { RUOVersion.AddCommand(str, AccessLevel.Player, new ChatCommandHandler(ChannelCommand)); } }
public static void Initialize() { RUOVersion.AddCommand("ChatErrors", AccessLevel.Counselor, new ChatCommandHandler(OnErrors)); RUOVersion.AddCommand("ce", AccessLevel.Counselor, new ChatCommandHandler(OnErrors)); EventSink.Login += new LoginEventHandler(OnLogin); }
public static void Initialize() { RUOVersion.AddCommand("All", AccessLevel.GameMaster, new ChatCommandHandler(OnAll)); }
public static void Initialize() { RUOVersion.AddCommand("HelpContents", AccessLevel.Player, new ChatCommandHandler(OnHelp)); RUOVersion.AddCommand("hc", AccessLevel.Player, new ChatCommandHandler(OnHelp)); }
public static void Initialize() { RUOVersion.AddCommand("pm", AccessLevel.Player, new ChatCommandHandler(OnMessage)); RUOVersion.AddCommand("msg", AccessLevel.Player, new ChatCommandHandler(OnMessage)); }
public static void Initialize() { RUOVersion.AddCommand("Friends", AccessLevel.Player, new ChatCommandHandler(OnFriends)); RUOVersion.AddCommand("Fri", AccessLevel.Player, new ChatCommandHandler(OnFriends)); }
public static void AddCommand(string str) { RUOVersion.AddCommand(str, AccessLevel.Player, new ChatCommandHandler(ChannelCommand)); }
public static void Initialize() { RUOVersion.AddCommand("mail", AccessLevel.Player, new ChatCommandHandler(OnMail)); RUOVersion.AddCommand("Ma", AccessLevel.Player, new ChatCommandHandler(OnMail)); }
public static void Initialize() { RUOVersion.AddCommand("ViewAll", AccessLevel.Player, new ChatCommandHandler(OnView)); RUOVersion.AddCommand("Va", AccessLevel.Player, new ChatCommandHandler(OnView)); }