Alert $Tip Message Balloon

Platform:  mIRC
Published  Jan 03, 2010
Updated  Mar 14, 2012
This alert snippet for mIRC6.3+ will display a $tip message balloon near your clock when mIRC or the associated window is not active when one of the following conditions occurs:

  • Someone uses your nick in a channel message, action, or notice.
  • Someone private messages you.
  • A nick you have selected speaks.
  • Someone says the nick of a nick you have selected.
  • A word or phrase you have set to alert on is spoken in a channel.
Note: Alerts for NickServ and ChanServ are Blocked.
To set an alert word or phrase use: /alert
Double clicking in the $Tip message ballon will focus the associated window.
Messages are trundicated to 330 characters, adjust manually in code if you wish.

; To set an alert word or phrase use: /alert

on *:OPEN:?:alert $1-
on *:TEXT:*:*:alert $1-
on *:ACTION:*:*:alert $1-
on *:NOTICE:*:*:alert $1-
alias alert {
var %msg $strip($1-)
if !$chan || $nick = $snick(#,1) || $count(%msg,$me,$snick(#,1),%alert) {
if !$tip($nick) && !$istok(NickServChanServ,$nick,7) && (!$appactive || $activewid != $window($iif(#,#,$iif($nick,$v1,$active))).wid) {
flash -b1r2
%msg = $iif($len(%msg) < 333,%msg,$left(%msg,330) $+ ...)
noop $tip($nick,$iif(#,#,Private Message), $nick  %msg,17,,,window -ax # $iif($window($nick),$nick,$iif($comchan($nick,1),$v1,"status window")))
}
}
if (!$nick) $iif($input(Enter Alert Text,toe,Alert!,%alert),set %alert $!,unset %alert)
}

Comments

Sign in to comment.
soap   -  Sep 15, 2012
Great work, very useful
 Respond  
Turner   -  Sep 08, 2012
so if i put this on now and i get a message in my channel would this display a message ?
 Respond  
gooshie   -  Sep 07, 2012
@Turner - Yes, that is not the purpose of this snippet but if you do away with the if statements and their closing brackets it could be made to do that.
Something like this:

Code

 
 Respond  
Turner   -  Aug 21, 2012
is there a way of getthing this to alert on every message ?
 Respond  
gooshie   -  May 12, 2012
maisdesign
It is possible to trigger an email script with a line right after the 'noop' line.
If however, you mean to send an email to the nickname being kick/banned
then that would be very improbable on most servers with most users.
 Respond  
maisdesign   -  May 11, 2012
Is there a way to send an email each time it find the selected word?
 Respond  
gooshie   -  Mar 17, 2012
Scakk,
Nice, thanks for sharing that, I may play with that some
in the future and I hope others will find it usefull also.
 Respond  
Scakk   -  Mar 17, 2012
Below is the snippet I spoke of above incase you wanted to see it or if someone else wanted to.

Code

 
 Respond  
gooshie   -  Mar 17, 2012
Scakk,
That's a great idea for $tip. But like you I also never get memos,
maybe a feature of always //nick $+(Guest_,$r(000,999)) lol...
Besides that I find most users can't negotiate the protocal or even
know it exist. Those of us who know about it are mostly in the lazy
and/or 'I'll just wait 'till that person is back live' camp. A MemoServ
addon script would be a nice feature for some groups of people if
made to be easy to use.
 Respond  
Scakk   -  Mar 14, 2012
I use $tip for my highlight script ( been tinkering with it for months ).

I just wrote a little script for MemoServ that tells you who sent it and what was sent. To bad I do not get any memos.

Quote


SnoooP I like this goosie, $tip is largely unused and I had never considered using it for anything, so again nice work.. I now have $tip for new memo's, whois, nick caller, :D you've shown me the light, no more need for echo -a lol
 Respond  
gooshie   -  Mar 14, 2012
Annaiidziithaa
I would have just used user levels so you could put what you wanted but then I'd have to explain user levels too often and so I settled on just hard coding it. As always edit as you see fit.
 Respond  
Annaiidziithaa   -  Mar 11, 2012
for me would be ... nick and Chan ... not work on my server as follows -> .... NickServ and ChanServ ... anyway .. good job.
 Respond  
ulquiorra4   -  Mar 11, 2012
very very ;)
 Respond  
gooshie   -  Mar 10, 2012
I updated this to show message text with a means to trundicate the messaqe to 330 characters. Manually adjust as you see fit, just make sure you edit both those numbers. I think anything over like 500+/- will show the full message text. IRC protocal limits the packet size to like 512 Bytes (characters) if I recall properly.
 Respond  
SnoooP   -  Jul 26, 2010
Since gooshie posted this I use $tip for alot of things now, nice one gooshie.
 Respond  
Jethro   -  Jul 26, 2010
Actually I overlooked that fact that, after you have changed noop to .echo -q, the script still will not work for you. The reason being that the $tip() identifier wasn't introduced until the version 6.31. You need to at least upgrade to 6.31 or the latest version for gooshie's script to be working.
 Respond  
Jethro   -  Jul 26, 2010
gnarlybeast@live.com, because you're running a copy of mIRC older than the version 6.17 or newer. To fix that, change the word noop in the script to:

Code

 
 Respond  
gnarlybeast@live.com   -  Jul 26, 2010
Um, I'm assuming this gets pasted in remotes. As soon as I pasted i started getting NOOP unknown command messages. Any idea why?
 Respond  
Jethro   -  Feb 07, 2010

Quote

I sorta dislike the tip ballon if it gets too huge.
Get a bigger monitor. I'm kidding. lol
 Respond  
gooshie   -  Feb 07, 2010
nuckleu

Quote

you can make to show first line of pv / or channel ? is great


I thought about having the message in the tip but I figured I would need to go there and reply anyway so I just made it so I could double click on it and go to chan/pvt. I put the nickname at top so it's easy to see who is speaking so I can choose to respond or not. Maybe I will add in the message soon if I try it and like it. I sorta dislike the tip balloon if it gets too huge.
 Respond  
slub77   -  Feb 07, 2010
very very very nice, i only comments cus i get a notice, ma notice ain't my own, oh i wish i could get as many comments as you, but is too slow, and unknown to everyone, why can't i get this many comments, even a hello would be nice, if only i could make a script, that make u all go :o bajizzle
 Respond  
nuckleu   -  Feb 07, 2010
you can make to show first line of pv / or channel ? is great
 Respond  
gooshie   -  Jan 10, 2010
Thanks Jethro_
 Respond  
Jethro   -  Jan 10, 2010
Fabulous work, gooshie. :-)
 Respond  
slub77   -  Jan 10, 2010
Yea but some people want that option so i put it in
 Respond  
SnoooP   -  Jan 10, 2010
:D nice :D
 Respond  
gooshie   -  Jan 10, 2010
Updated to allow use of /alert command in a private window and the status window.
 Respond  
gooshie   -  Jan 10, 2010
slub77
I don't think yours does exactly the same..
I saw no need for a menu for mine since I
want it always on.. only one command to use
with mine /alert If someone wants that in a
menu they can:

Code

 
 Respond  
slub77   -  Jan 10, 2010
Cool script

I just made one like it http://www.hawkee.com/snippet/7145/ it does the same but has a menu and that.
 Respond  
SnoooP   -  Jan 09, 2010
haha I think everone nowadays has urneal on their comp. some go the one step further and have anope too. haha
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.