Issue with CHAT_MSG_ADDON
On the TBC beta, it seems like sending addon messages isn't working properly.
I might be just doing something wrong. When I am sending the addon chat msg, I am triggering my event. When my party member sends it, the event is not triggered. Here is the code for my frame. Code:
local function CHAT_MSG_ADDON_CALLBACK(prefix, msg, type, sender) Code:
/run C_ChatInfo.SendAddonMessage("TEST EVENT", "Some Value") Any ideas? |
Did you register your prefix with C_ChatInfo.RegisterAddonMessagePrefix()?
Also if you don't specify a channel, C_ChatInfo.SendAddonMessage() sends in PARTY. For testing, you might want to try SAY. |
Quote:
I did not know about registering the addon prefix. That fixed it. Thanks! |
All times are GMT -6. The time now is 07:52 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI