Project

General

Profile

[Script] Ignore notice from unregistered users » Ignore notice from unregistered users v0.1.ini

Mr. BS, 04/24/2014 06:13 AM

 
; http://dev.adiirc.com/boards/5/topics/178
; Ignore notice from unregistered users v0.1
; v0.1 by pereba

on ^*:notice:*:*:{
if ($right($1-,1) != $chr(160)) && (!$istok(nickserv;q;chanserv;*status;*q;*broadcast,$nick,59) {
set -e %ucnNick $nick | set -e %ucnAd $address($nick,5) | set -e %ucnMsg $1- | whois $nick | halt
}
}

Raw *:*:{ if $istok(378 379 307 319 312 301 313 338 310 311 335 614 671 320 317 275 615 616 401,$numeric,32) { if ($2 == %ucnNick) halt } }

raw 330:*:{ if (%ucnNick) { fakeraw : $+ %ucnAd NOTICE $me : $+ %ucnMsg $chr(160) | halt } }

raw 318:*:{ if ($2 == %ucnNick) { unset %ucn* | halt } }
    (1-1/1)