Need a little help :) - 07/09/03 08:47 PM
If someone says a word more than once it such a long time (30 seconds) Then that person would be kicked / banned..
Now, how should i do that?
Now, how should i do that?
on 1:TEXT:*:#:{ if ($me ! isop #) return if ($nick isop #) return else { var %x = $strip($1-) inc -u30 %i. [ $+ [ $hash($nick $chan %x,32) ] ] if (%i. [ $+ [ $hash($nick $chan %x,32) ] ] == 5) { ban -u30 # $nick 2 kick # $nick Your kick message here. } } }
on @1:TEXT:*:#:{ if ($nick !isop #) { var %x = $strip($1-) inc -u30 %i. [ $+ [ $hash($nick $chan %x,32) ] ] if (%i. [ $+ [ $hash($nick $chan %x,32) ] ] == 5) { ban -ku30 # $nick 2 Your kick message here. } } }