Top

Repeat Kicker.


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Jul 17, 2004
Last Updated  Mar 08, 2005

Introduction

This isnt a line repeat kicker, but this kicks on users that type like this:
<Testnick>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.

Grab the Code

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

  (4)  RSS
fahadbalboa
Comments: 17
 
mIRC Snippet:  Repeat Kicker.
Posted on Mar 1, 2009 4:34 am
I want 4 times Repeat Kick I dont know How to change ?
fahadbalboa
Comments: 17
 
mIRC Snippet:  Repeat Kicker.
Posted on Mar 1, 2009 4:34 am
Can You Change It For Me ?
Jethro_
Comments: 405
 
mIRC Snippet:  Repeat Kicker.
Posted on Mar 1, 2009 4:21 pm
@ReQueST: You can do this with regex and it does the same thing:
Code:
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:
Code:
on @$*:TEXT:/(.)\1{10}/:#:if ($nick !isop #) kick # $nick Stop repeating!
[HANZam]
Comments: 17
 
mIRC Snippet:  Repeat Kicker.
Posted on Jul 3, 2009 11:19 pm
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

Commenting Options

Register or Login to Hawkee.com or use your Facebook or Twitter account by clicking the corresponding button below.

  
Bottom