WhisperNotify

WhisperNotify displays Whispers sent to you in the middle of the screen with a fadeout, ala combat style, message and an optional audio alert.

I tend to overlook Whispers if I'm not specifically watching my chat box, especially Whispers from NPCs during quests. Hence, this little addon. The messages still show up in your chat box, they just also appear in the message area of your screen.

It will remember your settings separately for each character and set itself when loaded.

GUI based config with new options in version 1.15!

WhisperNotify slash commands

You can use /wn or /whispernotify

/wn - shows help

/wn ver - shows the version number

/wn reset - resets all options to defaults.

/wn on - turn WhisperNotify on for the current character

/wn off - turn WhisperNotify off for the current character

/wn silent - toggles alert sound on/off for the current character

/wn status - displays the WhisperNotify Status for the current character

/wn style - toggles bewteen the default and compact display styles

/wn test - sends a test whisper to the on screen diplay

/wn time S - sets time whispers stay on screen before starting to fade to S seconds (default is 5)

/wn fade S - sets time whispers take to fade out to S seconds (default is 2)

/wn move X Y - sets the offset of the frame from the center of the screen

/wn resize W H - sets the size the frame. Default is 600 x 200

To Do

Localization

Configurable Sound

Control Outline on fonts

Possibly add other chat types

05/21/2013 - v1.18.4
- Updated TOC for WoW 5.3

12/01/2012 - v1.18.3
- Updated TOC for WoW 5.1

09/11/2012 - v1.18.2
- Updated TOC for WoW 5.0x

12/01/2011 - v1.18.1
- Updated TOC for WoW 4.3

10/02/2011 - v1.18
- Updated TOC for WoW 4.2

11/29/2010 - v1.17b
- Redid the sound system - Now uses it's own sound files instead of the system sounds. Custom sounds available by replacing the "custom.mp3" file with the sound you want to use.

11/21/2010 - v1.16b
- Should now trigger on BattleNet(RealID) whispers as well. NEEDS TESTING!
- New Config Option - Time Between sounds - This keeps the sound from playing repeatedly if you've got a series of whispers coming in quick sequence.
- New Config Option - Sound to play - Choose which system sound to play.
Note: If you want custom sounds for your chat messages, I suggest the addon "ChatSounds", available on WowInterface
- Added Optional Dependancy to the TOC to make sure ChatSounds is loaded first if you are using it, this allows ChatSounds to hook the events first.

11/14/2010 - v1.15
- Fixed combat suppresion bug (I hope!)
- Added config GUI. Go to Game Menu - Interface - Addons - WhisperNotify to configure. All of the old command line options are still in place for now.
- In my personal opionion there is something wrong with a system where the code for the config needs to be twice the size of the actual program code...
- The Font, along with it's color, size and alpha(transparency) can now be set, but only from the GUI, not the command line.
- Small oddity: if the Alpha is less than fully opaque, the message will go fully opaque just before it fades out. Dunno why yet.
- Another small oddity: If the font size is raised above a certain size (30 on my system), the game ignores it and continues to disply at 30. I think this has something to do with the UI Scaling. Not sure if I can do anything about this.

11/12/2010 - v1.12b - Beta Version

11/09/2010 - v1.11b - Code and internal variable cleanup in prep for config GUI. Not released to the public.

11/10/2010 - v1.10a - Bug "fix" release, disabled combat check.

11/09/2010 - v1.10

-Added slash command to move frame
-Added slash command to resize frame
-Added slash commands to set time and fade delays
-Added option to suppress whisper display if in combat
-Added option for one line display instead having the name on a separate line.
-Fixed bug where if the sound was on, but the addon was off, the sound would still play.

11/05/2010 - v1.02 - Fixed issue with on/off command that was preventing addon from working for some.

Now gets this error message caused by Whisper Notify "has been blocked from an action only available to the blizzard UI" its strange that Whisper Notify would give this error when hitting the M key to open the in game map. When I disable Whisper Notify then there are no issues.. I see this ad-don hasn't been updated in along time and I hope it will be updated soon because it works great while in combat and someone whispers you because I don't notice a whisper in the default location at the lower left, so Having it popup in the middle of the screen can be a life saver when I'm tanking and another tank whispers me. Now since I cant use the ad-don I really see how addicted I am to it..

I have this coming up on one of my addons also and this is what I found on the subject:

Now gets this error message caused by Whisper Notify "has been blocked from an action only available to the blizzard UI" its strange that Whisper Notify would give this error when hitting the M key to open the in game map. When I disable Whisper Notify then there are no issues.. I see this ad-don hasn't been updated in along time and I hope it will be updated soon because it works great while in combat and someone whispers you because I don't notice a whisper in the default location at the lower left, so Having it popup in the middle of the screen can be a life saver when I'm tanking and another tank whispers me. Now since I cant use the ad-don I really see how addicted I am to it..

You should add a feature that will notify you if someone uses your name in guild chat or maybe a set list of names you can make that will notify you if any of the list names are used in guild chat. I miss people talking to me all the time in G chat, would be a nice addition.

Changes:
- Should now trigger on BattleNet(RealID) whispers as well. NEEDS TESTING!
- New Config Option - Time Between sounds - This keeps the sound from playing repeatedly if you've got a series of whispers coming in quick sequence.
- New Config Option - Sound to play - Choose which system sound to play.
-- Note: The available sounds are a random sampling of the system sounds. I'm still sorting through the hundreds of available sounds for good ones. I'm also considering not using the system sounds at all and finding some external sounds. I've got a couple of CDs of royalty free SoundFX around here somewhere.
- Added Optional Dependancy to the TOC to make sure ChatSounds is loaded first if you are using it, this allows ChatSounds to hook the events first.

I'm working on being able to pick from a number of the system sounds for the next version, but if you want custom sounds for all your chat messages, I highly suggest the ChatSounds addon by Dridzt. He's produced a great addon for configurable sounds for any/all of your chat channels. I don't plan on duplicating all his work in this addon since they work so well together.

If the current sound really bugs you, you can change the "PlaySound" line in the code with one of the other system sounds. There's a LOT of them and I'm still working on narrowing the list down to something manageable for the addon. If you find a particularly pleasing one, let me know

-A

Originally posted by Angrysteel Is there anyway to add custom sound files to play when receiving a whisper, instead of the default sound that comes with the addon?

Originally posted by help137 I double checked and that should be the right event name for the battlenet whispers. I refuse to participate in Blizz's ReadID system, so I can't test it directly, but if you want to pack up what you've come up with and attach it to me in an email to the address I sent you via a PM I can have a look and see if I can figure out what's going on.

-A

I hear you on RealID - my only connections are to my son, my daughter and my father. He is now recently alone and the game allows me to keep tabs on him while giving him something to take his mind off things. Win-win.

I have gotten it all working. I'm in the process of messing with sounds and a config option to allow outgoing messages (_INFORM) to be seen - and I am also working with ways to turn off guild messages if they come from the player.

In short, I'm kinda having fun playing mud football in your front yard... Tell me to stop whenever you need to.

I double checked and that should be the right event name for the battlenet whispers. I refuse to participate in Blizz's ReadID system, so I can't test it directly, but if you want to pack up what you've come up with and attach it to me in an email to the address I sent you via a PM I can have a look and see if I can figure out what's going on.

-A

Originally posted by Astrocanis Thanks for the quick response. What he needs is (actually, what I need - he's hard to get hold of in game) is a visible (and audible) prompt when someone speaks to him in guild, party, whisper and battlenet.

I've gotten the guild, party to work, but the CHAT_MSG_BN_WHISPER event is not firing for some reason. I'm not trying to steal your mod, and have no intention of actually distributing the changed code except to my father.

Thanks for the quick response. What he needs is (actually, what I need - he's hard to get hold of in game) is a visible (and audible) prompt when someone speaks to him in guild, party, whisper and battlenet.

I've gotten the guild, party to work, but the CHAT_MSG_BN_WHISPER event is not firing for some reason. I'm not trying to steal your mod, and have no intention of actually distributing the changed code except to my father.

Well, the new version that I'm testing right now has the ability to change the font, color and size, but as it's still only doing whispers, there's no code to change it for different events. All of the new changes are done through a GUI config in the built in blizzard interface - addons config screens. Changing it on the fly for other chat types (and adding those chat types) should not be too hard, but it's beyond the scope of what this addon is supposed to do.

If you want to do a custom addon for your father, I can probably help you out with it. If all the colors, fonts, etc stay hard coded (i.e. The GUI config is not required) it probably wouldn't be too hard to do. Quite frankly, building the GUI config has been far more complex than the actual addon has been!

There's not an option to change which sounds it uses yet, but if you're playing with the code already, it would be easy enough for you to change the sound, it's a single line of code referencing a blizzard sound "constant". Also, regarding the sound, it should not be playing for outgoing whispers, the event code only triggers when you have an incoming whisper. Or, at least that's what it's supposed to do. I haven't heard it trigger for an outgoing whisper on my system.

[EDIT]: I checked and Whispers you send come in on a differently named event, so unless you added the CHAT_MSG_WHISPER_INFORM event to the code, I don't believe there's any way it could be playing the sound on an outgoing whisper. BTW: If you tell me what channels you're interested in, I can look up the trigger events for you.

The timer on the sound is a bit more complex, but I think I've seen some code to do something similar in another addon I use, I'll see if I can find it. I don't tend to receive large amounts of whispers in short sequence, so I hadn't really thought about it. There is already a sound on/off toggle, so you can turn it off entirely, even in the current version and use ChatSounds, it should work fine that way.

I've put a beta up here for anyone who wants to try out the new config GUI.

-A

Originally posted by Astrocanis I've been noodling a bit with this as well - trying to use it as a general notification for my 77 year old father, who just started playing and has trouble seeing when someone speaks to him in chat.

I'm trying to:

a) Change the notification color to the channel color
b) Change the font overall (Skurri is too hard for him to read)
c) Change the notification sound (or turn it off and use ChatSounds)

This is exactly what I'm looking for. But I need to expand it a bit so that if he's in party, guild or whisper that I can grab his attention.

Thanks for adding the debug option - helps me look for things a lot more easily.

Love the mod.

[edit] Would also like to be able to change when the sound is played so that it doesn't constantly spam the sound. So that for 30 seconds after the last sound it doesn't play, renewed by every chat message.