Untitled
By: a guest | Mar 15th, 2010 | Syntax:
None | Size: 0.99 KB | Hits: 44 | Expires: Never
on *:TEXT:$( * $+ $me $+ * ):*: {
if ( $read(nickalertignore.txt,s,$nick) ) { halt }
inc %nickalert
flash -r NICK ALERT
beep 3
if ( $iif( $chan == $null,$nick,$chan) != $active ) {
echo -at 07 $+ $nick 06has said your name in07 $iif( $chan == $null ,06a 07query,$chan) 06on07 $network $+ 06. Your name has been said07 %nickalert 06times.
}
}
alias nignore {
if ( !$1 ) { echo 4 -a Insufficient parameters. Syntax: /nignore [-r] <nick> }
else {
if ( $1 != -r ) {
if ( $read(nickalertignore.txt,s,$1) ) { echo 4 -a $+ $1 is already in your nick alert ignore list. }
else { write nickalertignore.txt $1 $1 | echo 09 -a $+ $1 has been added to your nick alert ignore list. }
}
else {
if ( !$read(nickalertignore.txt,s,$2) ) { echo 4 -a $+ $2 is not in your nick alert ignore list. }
else { write -ds $2 nickalertignore.txt | echo 09 -a $+ $2 has been removed from your nick alert ignore list. }
}
}
}