Docstoc

Silence on Flood

Document Sample
Silence on Flood Powered By Docstoc
					on *:TEXT:*:#:{
  if ($nick == $me) {
    halt
  }
  if ($nick isop $chan) {
    halt
  }
  inc -u5 %flood. [ $+ [ $nick ] ]
  if (%flood. [ $+ [ $nick ] ] == 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.
    /timer 5 120 /mode $chan -b ~q: $+ $address( $nick , 2 )
  }
}

				
DOCUMENT INFO
Shared By:
Categories:
Tags:
Stats:
views:0
posted:11/1/2012
language:
pages:1