All pastes #289220 Raw Edit

Miscellany

public text v1 · immutable
#289220 ·published 2006-12-22 23:33 UTC
rendered paste body
menu nicklist {
  Ignore P.M's
  .Ignore user(s)
  ..Ignore P.M's from $$1 :/ignore -p $$1
  ..Unignore P.M's from $$1 :/ignore -rp $$1
  ..Clear ignore list: /ignore -rp
  .Accept/decline all
  ..Accept all pm's: unset %nopms | echo $color(notice) -a $+(-,$me,-) Now accepting P.m's
  ..Decline all pm's: set %nopms 1 | echo $color(notice) -a $+(-,$me,-) Now declining P.M's
}
on ^*:OPEN:?:*:  { 
  if (%nopms) { 
    .msg $nick I am currently not excepting pm's please try again later 
    halt 
  } 
}
on *:exit: unset %nopms
}