Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on ^*:SNOTICE:*:{
- if (o !isincs $usermode) return
- set -l %window
- if ($regex($1-,/\*\*\* (?:REMOTE)?(\S+?):/i)) %window = $regml(1)
- elseif (/whois isin $1-) %window = WHOIS
- else return
- haltdef
- set -l %cor 1
- if (WHOIS == %window) %window = $+(@WHOIS,$chr(160),$network,$chr(160),$cid)
- else {
- %cor = $ircop_cor(%window)
- %window = $+(@IRCOP,$chr(160),$network,$chr(160),$cid)
- }
- if (!$window(%window)) window -e0n2j99999 %window
- echo %cor -te %window $+(-,$nick,-) $1-
- }
- alias ircop_cor {
- if (CONNECT == $1) return 3
- if (QUIT == $1) return 4
- if (ANNOUNCEMENT == $1) return 2
- if (CHANCREATE == $1) return 5
- if (NICK == $1) return 6
- if (XLINE == $1) return 7
- if (STATS == $1) return 12
- if (KILL == $1) return 9
- if (DEBUG == $1) return 10
- if (GLOBOPS == $1) return 11
- return 1
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement