AutoMsg

Update 3-15-06: Fixed PlaySound error so that sounds will play properly.
-----
The purpose of this addon is to provide a very simple addon to create automatic responses to chat messages you recieve. You have the option of replying through whisper, say, emote or you can simply play a sound file to alert you.

All it does is do a simple string comparison for the chat type you specify. So, for example, you could make check all your whispers for "thanks" and auto-reply with "no problem" if you desired. Or you could have it check all channels for "enchant" or your name and play a sound if anyone typed that in a message.

Usage:
Put it in your addons directory and then open up the AutoMsg.lua file to edit. I may add the ability to update it via slash commands at a future date, but right now you just need to manually add them. The instructions are pretty straightforward and right at the top of the lua. You don't need an editor to make changes, just use Notepad.

Does anyone know how I can get it to not spam the guild board when responding?
BTW it's awsome.
I love it, although
Was trying to figure out a way, that when someone dings, it autostates, grats woot etc. And hello's, autoreply to those. Things like that would be great for a gm when your guilded alot.

At the moment it see's the message in guild and reply's nonstop spamming the guild with the reply. lol

Really nifty mod, several different uses for it. However, I've been having trouble using sound responses; whenever the trigger for one occurs, I get the following error message:
Interface\Addons\AutoMsg\AutoMsg.lua:172: attempt to concatenate local 'oFile' (a nil value)

Line 172, for me, is the meat of the AutoMsg_Sound(oFile) function, namely:
PlaySoundFile("Interface\\AddOns\\AutoMsg\\Sound\\"..oFile)