What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] Chat Alert - Plays a sound when your name is mentioned in chat

Nesox

Well-Known Member
Joined
Jan 15, 2010
Messages
1,563
Reaction score
48
Simple plugin that plays a sound when your name is mentioned in i any chat, Guild,Say,Whisper,Yell... etc.

Wrote it for kick but i figured someone else might find it useful.
Enjoy!
 

Attachments

Last edited:
This is very useful, is it possible to implement what was said about you in chat?
 
it's up to you to figure it out :p i asked for it because when i'm dev'ing, i have my other accounts doing stuff like BG botting ... and i don't want to mess around w/ scrolling through text every 5 mins

And ty nesox =)

guys, if you want a different sound, just replace the .wav file w/ your own (rename it to sound.wav)


Other notes:
You can also put in your aliases ... so if you have a funny name like:

N?sox and someone says Nesox or nesox - ... then those are also avail (name Name1, Name2, NameN) or lets say his real name is John Doe and someone says Hey John! in gchat or pm ... it will also ping you
 
Last edited:
Is it logging also? Lets say I'm not home and I want to check out if someone has written to me while I was gone.
 
i doubt it, but there are plenty of other plugins that log whispers

again, this one is just a ping for ppl who are near the keyboard
 
Awesome, thank you guys :) I don't need any complex responder, only this!
 
Reuploaded it, now logs when your name is mentioned eg;
[ChatAlert] Your name was mentioned in chat. Message: Hello Bremel
 
Hi,

I know you custom made this for someone else so you probably aren't offering much support or need to. So It may be something I am doing wrong.
Anyways, someone today in a BG said my name and said I was botting. They spelled it out correctly and I heard no sound at all. Luckily, I was just getting to my PC from across the room when I read it so I was able to reply.

If you could help that would be great! If not I understand :)

Thanks in advance.

Edit:
I did change the sound file, however the new sound file I just renamed Sound. I don't think that is the problem but thought I would add that.
 

Attachments

it has to be a .wav and named Sound.wav

or

if you want to use a .mp3 (i don't know if it will work right)


string file = Path.Combine(directory, "Sound.wav");

at line 61 and 81... change this to whatever you want it to play
 
Ya it is both a .wav and named Sound.
I just whispered my self my name and the sound played.
I also just reinstalled it and restarted HB. I'll see if it works!

Edit:
I went into a BG and said my name in BG Chat. Looks as if it works!
 
Last edited:
does this only sound on wisper if named is said? or will it sound on all wispers?
 
does this only sound on wisper if named is said? or will it sound on all wispers?

Simple plugin that plays a sound when your name is mentioned in i any chat, Guild,Say,Whisper,Yell... etc.

there are already other plugins that do 'general' whispers including ss's and email, irc, phone, etc
 
Simple plugin that plays a sound when your name is mentioned in i any chat, Guild,Say,Whisper,Yell... etc.

there are already other plugins that do 'general' whispers including ss's and email, irc, phone, etc

gotcha, thanks for the reply! was going to delete my other plugin as it does far more than I will ever use. But I guess i will just use both then.
 
ya i asked nesox for a boolean (true / false) value for 'all whispers' and that's the response he gave me lol
 
I changed all 3 Aliases.

Here is where i changed them
Code:
private readonly 
List<string> _aliases = new 
List<string>
{
 "Xxx",
"Xxxxxx",
 };

Just tonight someone said "hey xxx" in Guild chat. No sound was played. Was it because they said xxx and not Xxx?
 
Last edited:
See i have been here a long time i think this sort of plugin should be added to HB/GB and people can select it if they want :-) I have always needed it :-) i was using zapsound but its not been updated

But thanks for this nesox
 
This is a very good plugin thanks!
One question: is it possible to make HB show the part were the phrase(alert) is mentioned please. So i can see it on my bot screen (dont have sound setup at work). If i use another plugin for guildmessages it will give all messages and in my guild they talk a lot.. so if only the important mentioned phrases would be awsome. This would be very helpfull for me. Maybe its only me who wants it but could try and ask :)

thanks!
 
Last edited:
Back
Top