napa182 commented on a Page, Silence on Flood  -  Mar 03, 2008

you can try this Oh and also you can not set off ur own on text events so you dont need to use if ($nick == $me) { halt

on @*:TEXT:*:#:{
  if ($nick(#,$nick,r))  {
    inc -u5 $+(%,flood.,$nick)
    if ($($+(%,flood.,$nick),2) = 8) {
      mode $chan +b ~q: $+ $address($nick,2)
      msg $chan $nick You have been silenced for two minutes. Please don't flood.
      msg #staff $nick has been silenced in $chan for flooding.
      $+(.,timersilenced,.,$nick) 1 120 mode $chan -b ~q: $+ $address($nick,2)
    }
  }
}
 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.