Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-26-20, 05:28 PM   #1
rbpaiett
A Murloc Raider
Join Date: Dec 2012
Posts: 4
Trigger PlaySound upon keyword event

I'm looking to create a macro/script/addon where if I receive a system message that any of my auction items expired or sold, I would hear a sound cue.


So basically it would search anything from CHAT_MSG_SYSTEM by keywords and triggers a PlaySound, example:

The word 'sold' appears, it activates PlaySound(5274) and ...
The word 'expired' appears, it activates PlaySound(5275).

I used to have this but lost it when I forgot to make a backup. Any advice or instruction would be very helpful.

Thanks.

Note: I'm a complete newbie with this so I don't know how to even set this up.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Trigger PlaySound upon keyword event


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off