private message

By RoninWarrior on Dec 14, 2005

lod file into remotes and save file this will block your query's if chanserv nickserv memoserv x w isin it will return fill free to change alter as needed.

on *:open:?:*:{  
  if ($nick == Chanserv) { return }
  if ($nick == Nickserv) { return }
  if ($nick == Memoserv) { return }
  if ($nick == x) { return }
  if ($nick == w) { return }
  ; if ($level($address($nick,3)) == 50) { return }
  ; will add $ulevel later for friends or something , when i update again fill free to change alter as needed
  inc %blocked.nicks
  .notice $nick sorry, but $me is not doing the private msg thingy today/evening
  close -m $nick
  echo -a notice --> blocked query from $nick : you have blocked  %blocked.nicks   querys
}

Comments

Sign in to comment.
RoninWarrior   -  Dec 15, 2005

cool xDaeMon ill check into it and up date it when i add the ulevels to it .

 Respond  
xDaeMoN   -  Dec 14, 2005

You can use $istok for those if statements to shorten the code.

/help $istok

Also use \"^*:OPEN:...\" & halt together so no need for the /close command.

/help On Open

 Respond  
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.