repeat kick

By M[n]M on Sep 09, 2007

no more repeats in your channel.kicks people when they Repeat back to back in 10 sec.
Will not kick Ops.

on ^@1:text:*:#: {
  if ($nick !isop #) { 
    if ( [ %repeat.001. [ $+ [ $wildsite ] ] ] ==  $strip($1-)) {
      inc %repeat.002. $+ $wildsite 1
      .timer 1 10 dec -u20 %repeat.002. $+ $wildsite 1
      if ( [ %repeat.002. [ $+ [ $wildsite ] ] ] == 2) {
        ban -u90 # $nick 2
        kick # $nick Repeat Flood Detect.
      }
    }
    set  -u20 %repeat.001. $+ $wildsite  $strip($1-)
  }
}

Comments

Sign in to comment.
M[n]M   -  Sep 10, 2007

no

 Respond  
dataprofile   -  Sep 10, 2007

Nice job. But is there really a point to including the ; comments?

 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.