All pastes #728436 Raw Edit

Anonymous

public text v1 · immutable
·published 2007-10-06 23:59 UTC
rendered paste body
on ^*: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 }
  }
}