on @*:text:*:#:{ var %messages = 5, %time = 3 inc -u $+ %time $+(%,flood.,$cid,$chan,$wildsite) if ($eval($+(%,flood.,$cid,$chan,$wildsite),2) == %messages) ban -k $chan $nick 2 4Flooding - 5 lines in 3 seconds. }