Hey guys. This script is just a simple Nick Alert script.
How it works: When a person types the nick you want (which is where $1- isin $me is), it makes a beeping noise and the logo of mIRC at the bottom of your computer flashes. It also tells you someone alerted you in the channel you are currently in and your status window. It tells the channel name and what time. Almost like the highlight option. :)
How to active it: Just put it in remote!
Edits: Edited it so you didn't have to specify your nick, but now it just uses your current nick.
That's about it. Enjoy!
~ This script was made by Wariopower and BM88 of #WarizardWorks on irc.purplesurge.com ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~ mIRC Nick Alert ~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ON $*:TEXT:*:#: {
var %alerter $nick
if ($me isin $1-) && ($target != $active) {
timer 1 .5 flash -r 10
timer 1 .5 beep 10
echo -ast 4 %alerter alerted you on $chan at $time $+ .
}
}
Here's a script that creates a Desktop Window when somebody mentions your nick on mIRC channel window (Nick alert script).
Every time someone mentions your nick, new entry is added into a single Desktop Window. In case someone needs it, here's the script code:
on :Text:$( $+ $me $+ *):#: {
if (!$window(@mIRC-NickAlert)) { window -mdk0 @mIRC-NickAlert }
window @mIRC-NickAlert
aline @mIRC-NickAlert 3Network: $str($chr(160),8), 6 $network
aline @mIRC-NickAlert 3Channel: $str($chr(160),8), 8 $chan
aline @mIRC-NickAlert 3Nick: $str($chr(160),14), 12 $nick
aline @mIRC-NickAlert 3Date & Time: $str($chr(160),2), 4 $+($date(yyyy mmmm d) ,$chr(32),2 $chr(40),$date(dddd),$chr(41) ,$chr(32),10 $time )
aline @mIRC-NickAlert $crlf
aline @mIRC-NickAlert 13T e x t: $str($chr(160),12), $1-
aline @mIRC-NickAlert $crlf
aline @mIRC-NickAlert 5-----------------------------------------------------------------------------------
aline @mIRC-NickAlert$crlf
}
View the image in order to see how the script looks in reality.
on :TEXT::#:{ if ($regex($1-,/\b $+ $me $+ \b/Sig)) && ($chan != $active) { echo -atg *** $chan $+($chr(60),$nick,$chr(62)) $1- } }
the above is a simple nick alert script, I want to add an echo command for network name because I'm in five or six networks at a time and some of them have common channels... alerts from these shared channels get to be quite confusing... any suggestions?
@Gooshie: Cool, I didn't try to write it out that way. Very cool.
@GlobalAnomaly: Yeah, most people would use the highlight option, but I figured I'd just make it for lolz and also a few of my friends couldn't figure out the highlight thing so I just made a quick script and passed it on to them. But yeah, I use the highlight option as well. xP
~ Wariopower
The beep and flash can be combined using the flash command switches.
Really no need for a 1/2 second timer delay for this type code.
on *:TEXT:$($+(*,$me,*)):#:flash -b5r10
This exact same functionality can be setup using the $me
identifier within Highlighting options now moved to the
address book under the last tab.