Trigger with sound from plugin

Posted by Oddgamer on Sun 09 Jan 2022 05:37 PM — 2 posts, 9,932 views.

#0
Okay, so I have a plugin (from around here somewhere) that moves various chat messages and other things to a new window (keeping the main window clear). The code for the triggers looks something like this (no idea which language this would be):

<trigger
enabled="y"
match="^Watch> (.*?)"
omit_from_output="y"
omit_from_log="y"
regexp="y"
script="redirect"
sequence="100"
>
</trigger>

I have no idea what that's coded in, but anyway... I figure there has to be a way to trigger a sound when this comes up? Not just while I'm away, but any time?
USA Global Moderator #1
Quote:
I have no idea what that's coded in

Plugins are scaffolded in XML.

Add
sound="path/to/your/sound/file.wav"