Share Pastebin
Guest
Public paste!

Untitled

By: a guest | Mar 15th, 2010 | Syntax: None | Size: 0.99 KB | Hits: 44 | Expires: Never
Copy text to clipboard
  1. on *:TEXT:$( * $+ $me $+ * ):*: {
  2.   if ( $read(nickalertignore.txt,s,$nick) ) { halt }
  3.   inc %nickalert
  4.   flash -r NICK ALERT
  5.   beep 3
  6.   if ( $iif( $chan == $null,$nick,$chan) != $active ) {
  7.     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.
  8.   }
  9. }
  10.  
  11. alias nignore {
  12.   if ( !$1 ) { echo 4 -a Insufficient parameters. Syntax: /nignore [-r] <nick> }
  13.   else {
  14.     if ( $1 != -r ) {
  15.       if ( $read(nickalertignore.txt,s,$1) ) { echo 4 -a  $+ $1 is already in your nick alert ignore list. }
  16.       else { write nickalertignore.txt $1 $1 | echo 09 -a  $+ $1 has been added to your nick alert ignore list. }
  17.     }
  18.     else {
  19.       if ( !$read(nickalertignore.txt,s,$2) ) { echo 4 -a  $+ $2 is not in your nick alert ignore list. }
  20.       else { write -ds $2 nickalertignore.txt | echo 09 -a  $+ $2 has been removed from your nick alert ignore list. }
  21.     }
  22.   }
  23. }