public override void Init() { CommandHook meow = CreateCommandHook("meow", Meow, "Usage: /meow"); CommandHook woof = CreateCommandHook("woof", Woof, "Usage: /woof"); HexChat.Print("Example .NET plugin loaded!"); }
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); }
public Eat Meow(string[] words, string[] wordsEol) { HexChat.Print("meow!"); return(Eat.All); }