Ejemplo n.º 1
0
 public static void Register(Channel c)
 {
     foreach (string str in c.Commands)
     {
         RUOVersion.AddCommand(str, AccessLevel.Player, new ChatCommandHandler(ChannelCommand));
     }
 }
Ejemplo n.º 2
0
        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);
        }
Ejemplo n.º 3
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("All", AccessLevel.GameMaster, new ChatCommandHandler(OnAll));
 }
Ejemplo n.º 4
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("HelpContents", AccessLevel.Player, new ChatCommandHandler(OnHelp));
     RUOVersion.AddCommand("hc", AccessLevel.Player, new ChatCommandHandler(OnHelp));
 }
Ejemplo n.º 5
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("pm", AccessLevel.Player, new ChatCommandHandler(OnMessage));
     RUOVersion.AddCommand("msg", AccessLevel.Player, new ChatCommandHandler(OnMessage));
 }
Ejemplo n.º 6
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("Friends", AccessLevel.Player, new ChatCommandHandler(OnFriends));
     RUOVersion.AddCommand("Fri", AccessLevel.Player, new ChatCommandHandler(OnFriends));
 }
Ejemplo n.º 7
0
 public static void AddCommand(string str)
 {
     RUOVersion.AddCommand(str, AccessLevel.Player, new ChatCommandHandler(ChannelCommand));
 }
Ejemplo n.º 8
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("mail", AccessLevel.Player, new ChatCommandHandler(OnMail));
     RUOVersion.AddCommand("Ma", AccessLevel.Player, new ChatCommandHandler(OnMail));
 }
Ejemplo n.º 9
0
 public static void Initialize()
 {
     RUOVersion.AddCommand("ViewAll", AccessLevel.Player, new ChatCommandHandler(OnView));
     RUOVersion.AddCommand("Va", AccessLevel.Player, new ChatCommandHandler(OnView));
 }