Пример #1
0
        public override void Init()
        {
            CommandHook meow = CreateCommandHook("meow", Meow, "Usage: /meow");
            CommandHook woof = CreateCommandHook("woof", Woof, "Usage: /woof");

            HexChat.Print("Example .NET plugin loaded!");
        }
Пример #2
0
        public Eat Woof(string[] words, string[] wordsEol)
        {
            HexChatWindow window = HexChat.GetContext().GetWindow();

            window.MessageDialog(MessageType.Info, ButtonsType.Ok, "Very Important Message", "Woof!");

            return(Eat.All);
        }
Пример #3
0
 public Eat Meow(string[] words, string[] wordsEol)
 {
     HexChat.Print("meow!");
     return(Eat.All);
 }