rendered paste bodyon ^*:notice:*:#:{
if ($nick != $me) {
if (!$halted) {
var %o = $strip($1-)
if ($isachl(%o)) && (%pprot.highlightflood) { checkpp highlightflood }
if (%pprot.spam) && (($regex(%o,/#.+|www\..+\..+|http.//.+\..+|a.?s.?l\??/i)) || ($count($1-,,,,) > 4)) && ($prot.exclps($fulladdress)) { pprot.dotrig spam }
if (%pprot.noticeflood) { checkpp noticeflood }
if ($balloon.trig(n)) { npop Incoming channel notice! $+($iif($scid(0) > 1,$nbr($curconserv)),-,$nick,:,$chan,-) $1- }
}
if ($cprot.chkst($nick,$chan)) && (%cprot. [ $+ [ %cprot.curchan ] $+ ] .noticeflood) { cprot.dchk noticeflood }
}
}