raccoon commented on a Page, Mass Whois Punishment  -  Mar 11, 2010

So, if you should be interested in client/bot and join all 6 of their channels at the same time, and their poorly written on-join-whois script tags you 6 times, your client goes ahead and kills them?

I sure am glad you don't manage any large or public networks.

on *:SNOTICE:*did a /whois on you*: {
  ; Check if you are an IRCop.
  if (o !isincs $usermode) return
  ; The user's nickname and address.
  var %nick = $2
  var %address = $remove($3,$chr(40),$chr(41))
  ; Incriment variable +15, ticks down -1 every second.
  inc -z %WHOISKILL. [ $+ [ %address $+ . $+ $network ] ] 15
  ; If the variable exceeds 60, there were 5 sent in 1 minute.
  if (%WHOISKILL. [ $+ [ %address $+ . $+ $network ] ] > 60) {
    ; Kill the user.
    kill %nick Abusing WHOIS (Limit 5 /whois per 60 secs)
    ; Unset the counter variable.
    unset WHOISKILL. [ $+ [ %address $+ . $+ $network ] ]
  }
}

I'll let you figure out how to add /gline in there.

 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.