Forums » General

Need some help with a Plugin

Jan 23, 2009 bull350 link
Can someone point me to a working link or post a new one to the msg beep plugin? Email it to me even. I tend to ignore the chat window when I'm doing stuff and feel bad when I see someone hailed me, or was talking to me and I didn't notice. Also, it's sort of rude of me not to respond.

The link in the plugin thread goes to an empty file and I've searched in vain to find it. I'd be grateful of anyone who could hook me up with this.
Jan 23, 2009 maq link
well i don't have that plugin but as a quick hack you can save this in a text file, rename it to main.lua and put it in a folder in plugins:

declare('msgbeep', {})
function msgbeep:CHAT_MSG_PRIVATE(ev, data)
  gksound.GKPlaySound('hit', 1)
end
RegisterEvent(msgbeep, 'CHAT_MSG_PRIVATE')

at least assuming all it did was play a sound when you get a message
Jan 23, 2009 bull350 link
Many thanks Maq! All I wanted is some alert to the fact that someone sent me a message. That will work great.