SendAddonMessage to Channel not working
1 Attachment(s)
As a followup to my previous post about sending messages around...
It seems that using SendAddonMessage with a custom channel doesn't work (or I'm doing something totally wrong). If I send a message with SendAddonMessage to a party, it works fine, but if I do it to a (custom) channel, nothing get's received. Sample project attached. What am I doing wrong? It looks right... Code:
SLASH_ZSCT1 = "/zsct" Client 1 ("master") Client 2 ("slave") |
This works for me fine on Retail (I didn't bother writing code to join a specific chat channel and get the index from that)
I also didn't test it with another player or account, just with myself Lua Code:
|
Hm... that also works across different chars on different accounts, so yeay :).
I think the problem is/was, that my program was joining the channel too early in the loading process (immediately instead of after entering the world). With that change, it now works in my bigger addon, as well. Thank you! |
All times are GMT -6. The time now is 06:52 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI