ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Lua/XML Help (https://www.esoui.com/forums/forumdisplay.php?f=175)
-   -   Parse System Messages? (https://www.esoui.com/forums/showthread.php?t=9715)

PlaceHolder 05/04/21 08:19 AM

Parse System Messages?
 
Hey all,
Wondering if there's a way to parse system messages.

Background:
Addons like "Loot Log" post to chat via the system messages.
All chat notification addons I've tested so far, where you can define specific words to trigger an audible sound, do not work with "Loot Log" (etc) due to it being a "system message".


It's past midnight here, so perhaps I just need to look at this with a fresh brain, but nothing, so far, is jumping out at me :confused:

Any help much appreciated,
Thanks :)

Baertram 05/04/21 08:27 AM

If any notifications should play sounds etc. via an addon the addon needs to check the "chat channel" where the message comes in.
There is a chat event which most addons use, providing the chat channel, and the text that is incoming/outgoing.
I'd ask the author of addons you have tested, and you like the most so far, to add support for CHAT_CHANNEL_SYSTEM messages so that you are able to define texts to listen and a sound to play for them as well.

PlaceHolder 05/04/21 09:36 AM

Quote:

Originally Posted by Baertram (Post 43846)
If any notifications should play sounds etc. via an addon the addon needs to check the "chat channel" where the message comes in.
There is a chat event which most addons use, providing the chat channel, and the text that is incoming/outgoing.
I'd ask the author of addons you have tested, and you like the most so far, to add support for CHAT_CHANNEL_SYSTEM messages so that you are able to define texts to listen and a sound to play for them as well.

Ah, thank you, this is exactly the starting point I was after :D
(Sounds [hopefully] somewhat straight forward too, so glad I don't have to look at writing my own when there's others already out there :o )


All times are GMT -6. The time now is 03:40 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI