Download
(8 Kb)
Download
Updated: 05/23/14 03:35 PM
Pictures
File Info
Compatibility:
Craglorn (1.1)
Updated:05/23/14 03:35 PM
Created:04/09/14 07:15 PM
Monthly downloads:25
Total downloads:9,650
Favorites:53
MD5:
ChatAlert  Popular! (More than 5000 hits)
Version: 2.5.1
by: Blythe [More]
What is ChatAlert? This addon will play a sound of your choice (from a short list of in-game sounds) for a variety of events in chat. Let me know if you'd like an in-game sound added to the lists! I just tried to grab a variety of non-obtrusive to very-intrusive options that aren't used frequently in the ambiance of the game. Current events on which you can receive an alert:
  • Whispers/Tells
  • NEW Your name said in chat
  • Group messages
  • Messages from contacts
  • When a contact comes online
  • When a contact goes offline
  • Each of your guilds' messages
  • Yells
  • /Say messages
  • Zone chat messages (although why you'd want this is beyond me)
  • NEW 5 custom words/phrases that will trigger an alert if said in chat
NEW You also have the option to silence any messages you send (enabled by default).

What's up next? Allow you to individually choose which contacts play a sound or not.

Kudos:
  • Arcane Scripters Guild and #ESOUIDev. Every time I jump in there, I come away with creative solutions to my LUA problems.
  • Aiiane/Aaeriele for patiently walking me through metatables.
  • Puddy for helping me understand how to use event handlers more efficiently/appropriately.
  • Flamage and Zolan for finding a bug with loading settings and helping me fix it.
  • Seerah for LibAddonMenu - so much time saved!
  • If you're interested in trying another addon with similar functionality: I've had a great time working through this with @zolannaloz and his version, Zolan's Chat Notifications, is probably worth a try! I also "borrowed" his idea to disable your own notifications.
  • Update 2.5.1 (2014-05-23): Per request, uploaded .zip file instead of .rar. Absolutely nothing about the addon itself has been changed.
  • Update 2.5 (2014-05-23): Updated for game patch.
  • Update 2.4 (2014-04-22): Fixed issue where if you chose "no sound" for contacts, they also wouldn't play a sound in /guild, /say, /zone, etc.
  • Update 2.3 (2014-04-18): Bug fix.
  • Update 2.2 (2014-04-17): Another bug fix. More clarity in the menu that both your @Account and Character name will trigger a sound if selected.
  • Update 2.1 (2014-04-16): Fixed a minor bug where saved settings weren't loading before chat messages started coming in.
  • Update 2.0 (2014-04-16): BIG UPDATE! Added notification option for if your name is said in chat, the ability to silence your own messages, and five fields that you can fill in with custom text to alert on (e.g. variations on your name, lfg messages, items for sale -- the sky's the limit).
  • Update 1.1 (2014-04-14): Fixed a technical issue that was causing issues for pChat users (and probably for folks using other chat addons). Big props to Puddy for recommending an easy fix and explaining so nicely how to do it!
  • Update 1.0 (2014-04-13): Added menu that allows for a few customized sounds, as well as more flexibility in what triggers the sound (see screenshot), including contacts logging on and off.
Optional Files (0)


Archived Files (11)
File Name
Version
Size
Uploader
Date
2.5
7kB
Blythe
05/23/14 08:39 AM
2.4
7kB
Blythe
04/22/14 04:40 PM
2.3
7kB
Blythe
04/18/14 04:37 AM
2.2
7kB
Blythe
04/17/14 09:52 AM
2.1
7kB
Blythe
04/16/14 04:57 PM
2.1
7kB
Blythe
04/16/14 04:09 PM
2.0
7kB
Blythe
04/16/14 03:19 PM
1.1
7kB
Blythe
04/14/14 08:05 PM
1.0
7kB
Blythe
04/13/14 02:54 PM
0.02
5kB
Blythe
04/10/14 06:38 AM
0.01
5kB
04/09/14 07:15 PM


Post A Reply Comment Options
Unread 04/17/14, 10:48 AM  
Qwynn
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally Posted by Blythe
Both! Would it be more useful to have them separated out?

Originally Posted by Qwynn
Lovely addon! Question though: Does the 'your name' alert refer to our @Name or Character name?
I guess it could for some people! I wanted both on anyways, but perhaps being able to toggle one or the other would be good as well.

Thank you!
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 04/17/14, 08:09 AM  
Blythe
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
Both! Would it be more useful to have them separated out?

Originally Posted by Qwynn
Lovely addon! Question though: Does the 'your name' alert refer to our @Name or Character name?
Report comment to moderator  
Reply With Quote
Unread 04/16/14, 10:54 PM  
Qwynn
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Lovely addon! Question though: Does the 'your name' alert refer to our @Name or Character name?
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 04/14/14, 07:51 PM  
Blythe
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
Re: event manager

Yes, thank you for the recommendation!!! Will do that ASAP (probably later this week due to a busy sched).

Edit: I lied. Thanks to your excellent instructions, it was a 2-minute fix. Should be updated now. Sorry about that!

Originally Posted by Puddy
Hi there

You can make your addon a bit cleaner and more compatible with other chat addons by changing

Code:
ZO_ChatSystem_AddEventHandler(EVENT_CHAT_MESSAGE_CHANNEL, ChatAlert.handleChat)
to

Code:
EVENT_MANAGER:RegisterForEvent("ChatAlert", EVENT_CHAT_MESSAGE_CHANNEL, ChatAlert.handleChat)
and adding a new parameter to handleChat (so it's event,messagetype,from,text).

Then you don't need your CreateChannelLink and CreateFromLink functions and you don't need to return a formatted string. This is because EVENT_MANAGER lets you just listen to chat, whereas the ZO_ChatSystem one replaces chat.
Last edited by Blythe : 04/14/14 at 08:07 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/14, 05:33 PM  
Puddy
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 28
Uploads: 3
event manager

Hi there

You can make your addon a bit cleaner and more compatible with other chat addons by changing

Code:
ZO_ChatSystem_AddEventHandler(EVENT_CHAT_MESSAGE_CHANNEL, ChatAlert.handleChat)
to

Code:
EVENT_MANAGER:RegisterForEvent("ChatAlert", EVENT_CHAT_MESSAGE_CHANNEL, ChatAlert.handleChat)
and adding a new parameter to handleChat (so it's event,messagetype,from,text).

Then you don't need your CreateChannelLink and CreateFromLink functions and you don't need to return a formatted string. This is because EVENT_MANAGER lets you just listen to chat, whereas the ZO_ChatSystem one replaces chat.
Report comment to moderator  
Reply With Quote
Unread 04/10/14, 05:13 AM  
Blythe
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 15
Uploads: 1
Thanks for the feedback! I'll work on /tell next, then group. I'm still very new at this, so it might take a couple of days.

Edit: Apparently that was much easier than I thought. ChatAlert 0.02 now includes /tell and /group. My next step is to build a menu so that you can customize when you want the sound to play and what sound you want.
Last edited by Blythe : 04/10/14 at 06:46 AM.
Report comment to moderator  
Reply With Quote
Unread 04/09/14, 11:41 PM  
vizionblind

Forum posts: 2
File comments: 50
Uploads: 0
waiting for /tell
Report comment to moderator  
Reply With Quote
Unread 04/09/14, 09:58 PM  
pinmouse

Forum posts: 7
File comments: 19
Uploads: 0
Thumbs up Yaaaay!

This is what I've been waiting for! But for /tell and /party chat. Once you add that I'm IN!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.