Yet another PM protection

By Renegade on May 24, 2009

Another simple script.. :D Just the way I like them..

I can't remember someone asked me to edit there's (it was rather along the same lines) ages ago.. so I did and this is what I come up with... So enjoy, it's about 2 years old s:

I did plan on making a dialog to keep track and advancing the ignore $$1 feature, but to be honest, I got bored.

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 pm ignore list: /ignore -rp
  .Accept/decline all
  ..Accept all pm's: unset %nopms | echo -a 7>4Attention7< 14PM Protection is now 7INACTIVE
  ..Decline all pm's: set %nopms 1 | echo -a 7>4Attention7< 14PM Protection is now 7ACTIVE
}

on ^*:OPEN:?:*:  {
  if (%nopms) {
    window -n @PM  
    echo @PM  $time(hh:nn:sstt) 14Your recieved a Personal Message on 7 $network 14 from 7 $nick 14Saying : $1-
    .msg $nick 7>4Attention7< 14I Am Currently 7Not 14Accepting Pm's Please Try Again Later.
    echo $active 7>14Attention7< 7 $nick 14 Has tried opening a pm with you! Countermeasures taken: ignoring pm's from $nick
    .ignore -pu45 $nick
    halt
  }
}

Comments

Sign in to comment.
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.