Highlight flood protection

By Phil_FW on Apr 05, 2012

This will automatically /notice and /ignore someone who floods the channel with your nick. Feel free to edit the numbers and whatnot

on $*:text:$(/\Q $+ $me $+ \E\b/iS):#:{
  if (%flood2. [ $+ [ $wildsite ] ] == $null) {
    set -u6 %flood2. [ $+ [ $wildsite ] ] 1
  }
  elseif (%flood2. [ $+ [ $wildsite ] ] >= 4) {
    notice $nick 11,1Highlight flood detected14,1. 9,1You will now be ignored for6,1 5 9,1minutes14,1. 10,1Next time don't fucking highlight rape me14,1. 8,1Thank you and have a great fucking day14,1!
    ignore -u300 $wildsite
    unset %flood2. [ $+ [ $wildsite ] ]
  } 
  else { inc -u6 %flood2. [ $+ [ $wildsite ] ] } 
}

Comments

Sign in to comment.
Yawhatnever   -  May 07, 2012

That's cool. You could also halt the display of highlight messages and echo them back without the highlight, rather than ignore the message completely. Just an idea.

More
 Respond  
Spoof   -  Apr 06, 2012

Cool.

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