flood/kick script - 30/07/06 01:39 AM
How would i make a script that kicks users if they say X amount of lines in X amout of time?
on @*:text:*:#:{ var %messages = 6, %time = 3 inc -u $+ %time $+(%,flood.,$cid,$chan,$wildsite) if ($eval($+(%,flood.,$cid,$chan,$wildsite),2) == %messages) kick $chan $nick Flooding. }
on @*:text:*:#:{ var %messages = 6, %time = 3 inc -u $+ %time $+(%,flood.,$cid,$chan,$wildsite) if ($eval($+(%,flood.,$cid,$chan,$wildsite),2) == %messages) kick $chan $nick Flooding. }
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. }
on @*:text:*:#:{ var %messages = 5, %time = 3 inc -u $+ %time $+(%,flood.,$cid,$chan,$wildsite) if ($eval($+(%,flood.,$cid,$chan,$wildsite),2) == %messages) ban -ku300 $chan $nick 2 4Flooding - 5 lines in 3 seconds. }