I am trying to develop a plugin, however whenever I add the chat routines they are one direction (meaning they only fire if I chat, not those around me.) If I say something in chat whether it be Guild, Party, Raid, etc the event fires; however whenever others say something to me the event will not trigger at all, therefore making further development of my plugin not possible. If anybody knows how to exercise around this please I would love to know, or if it is a known bug please let me know as well, thank you. Example code: Code: Chat.Say += Helper.ChatSay; public static void ChatSay(Styx.CommonBot.Chat.ChatLanguageSpecificEventArgs args) { // do something here...... }
I think the only one supported for getting messages from someone is whispers, sadly you'll have to use the args[2] or similar on CHAT_MSG_CHANNEL for the rest. docs/events - World of Warcraft Programming: A Guide and Reference for Creating WoW Addons or you can test with CHAT_MSG_SAY or similar, you can also use .net 4.5 anonymous method for this
Thanks, I will check this out just was a little perplexed - will report back with my findings; and thanks so much for pointing out the reference.
in the future, this section is for honorbuddy support. so if honorbuddy isnt working or you cant login then you would post here. for programming issues and help, please use the developer section.