Download
(2Kb)
Download
Updated: 03-15-07 03:32 PM
Pictures
File Info
Updated:03-15-07 03:32 PM
Created:unknown
Downloads:2,258
Favorites:5
MD5:

AutoMsg

Version: 0.2
by: sid67 [More]

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.

Enjoy!

Optional Files (0)


Post A Reply Comment Options
Unread 01-24-08, 02:24 PM  
kipper
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
More then one line.

Is there a way to reply with more then one line of text.

If there is how can it be done?

If not, are there plans to add such a feature?
Report comment to moderator  
Reply With Quote
Unread 08-12-07, 03:57 PM  
kenphillips
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Wildcards ?

Does this mod support any form of wildcards, and if so, what might they be? Also, does the mod scan the incoming username, or just the chat text after the username?
Report comment to moderator  
Reply With Quote
Unread 07-21-07, 08:46 PM  
Charlene
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
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

Any suggestions would be appreciated.
Report comment to moderator  
Reply With Quote
Unread 03-17-07, 01:09 PM  
Jargon
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
woot! awesome, thanks!
Report comment to moderator  
Reply With Quote
Unread 03-15-07, 03:34 PM  
sid67
A Cliff Giant
AddOn Author - Click to view AddOns

Forum posts: 78
File comments: 31
Uploads: 5
However, I've been having trouble using sound responses;
Whoops! This error should be fixed now. My apologies.
Report comment to moderator  
Reply With Quote
Unread 03-08-07, 12:48 PM  
Jargon
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Sound problem

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)

So, yeah. I don't know enough about coding to really understand what exactly I'm doing wrong.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: