Public feed #891003

Mine

public text v1 · immutable
Raw Edit
·published 2008-02-04 07:15 UTC
rendered paste body
Commands:
/Noticeon - Blocks all Notices, with the Exceptions of the ones in the Except.ini File.
/Noticeoff - Turns the blocker off, allowing you to recieve all notices.

on *:NOTICE:*:?:{
  If ($nick == Nickserv) { halt }
  if ($nick == Chanserv) { halt }
  if ($nick == Memoserv) { halt }
  if ($nick == Services) { halt }
  if ($nick == Hostserv) { halt }
  if ($nick == Botserv) { halt }
  if ($nick == Helpserv) { halt }
  if (%bn == on) {
    notice $nick I Am Not Accepting Notices At This Time. Added To Ignore For 1 Minute To Prevent Spam.
    ignore -u60 $nick
  }
}


alias Noticeon {
  echo -a Now blocking all Incomming Notices.
  inc %bn
  set %bn On
}

alias Noticeoff {
  echo -a You will now be accepting all Incomming Notices.
  inc %bn
  set %bn Off
}