Repeat Kicker.

By ReQueST on Jul 17, 2004

This isnt a line repeat kicker, but this kicks on users that type like this:

Hi Hi Hi Hi Hi You can change the amount of repeated words. (By changing the number after the ">" in: "if ($wildtok(%text,$gettok(%text,%i,32),0,32) >= 10)" ) And again, you need an (@) Operator status to kick people. ```mirc on *:TEXT:*:#channelweretouseit: { if ($checkToks($$1-)) && ($nick !isop #) { kick $chan $nick Stop repeating. Stop repeating. Stop repeating. Stop repeating. Stop repeating. } } alias checkToks { var %text = $$1-, %i = 0 while (%i <= $numtok(%text,32)) { if ($wildtok(%text,$gettok(%text,%i,32),0,32) >= 10) { return 1 } inc %i } return } ```

Comments

Sign in to comment.
Marky   -  Mar 03, 2012

This is nice. how about repetitive sentence ??

this is a example sentence this is a example sentence this is a example sentence is there anyway to prevent these ?
 Respond  
[HANZam]   -  Jul 03, 2009

how about, a warning. Probably 2 warnings if they continued using repeated letters. Then kick on the 3rd time. Can u modified for me if im not asking too much.. :)

thnks

 Respond  
Jethro   -  Mar 01, 2009

@ReQueST: You can do this with regex and it does the same thing:

on @$*:TEXT:/(.\s)\1{10}/:#:if ($nick !isop #) kick # $nick Stop repeating!

@fahabalboa: If you want to use the author's script above, all you need to do is change >= 10 to >= 4 The same goes the one I'm showing here change it to {4}

The above version will match space between repeated words. If you want to match letters like 11111111111111 aaaaaaaaaaaaaaa mmmmmmmmmmmmmmmmmmmm without spaces, just remove \s as such:

on @$*:TEXT:/(.)\1{10}/:#:if ($nick !isop #) kick # $nick Stop repeating!
 Respond  
fahadbalboa   -  Mar 01, 2009

Can You Change It For Me ?

 Respond  
fahadbalboa   -  Mar 01, 2009

I want 4 times Repeat Kick I dont know How to change ?

 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.