mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Sep 2005
Posts: 15
O
Pikka bird
OP Offline
Pikka bird
O
Joined: Sep 2005
Posts: 15
I tried many masskick addons, but I get flooded if I use them.

Can some create a masskick with a timer that kick 5 persons of a specified channel every 7 seconds so I do not get flooded?

Thanks alot for helping me.

- out

Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
you might check what your server has for the $modespl
you hould be able to /ban -k then number of nicks allowed in the mode restrictions in one line, repeatedly, without flooding.
however you dont have a network listed in your info here so that I could go and look/test there.

Code:
Multi Kick+Ban: {
  var %modecnt = $modespl
  var %modelst = $snicks
  var %modenum = $gettok(%modelst,0,44)
  var %i = 1
  var %x = 1
  while (%i <= %modenum) {
    var %listnk = %listnk $gettok(%modelst,%x,44)
    var %lenchk = $gettok(%listnk,0,32)
    if (%lenchk >= %modecnt) {
      ban -k # - $+ $str(b,$modespl) %listnk
      var %listnk = ""
    }
    if (%i == %modenum) {
      ban -k # - $+ $str(o,$modespl) %listnk
      var %listnk = ""
    }
    inc %i
    inc %x
  }
}


*UNTESTED*

Joined: Sep 2005
Posts: 15
O
Pikka bird
OP Offline
Pikka bird
O
Joined: Sep 2005
Posts: 15
Well I need this script, than if I type !masskick #channel that it kicks every one in that kind of channel..

So please help again!!!

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Maybe something like..

Code:
On *:Input:#: {
  if ($1 == !masskick) {
    if ($me isop $2) {
      var %x = $nick($2,0)
      while (%x) {
        if (($nick($2,%x) != $me) && ($nick($2,%x) !isop $2)) kick $2 $nick($2,%x) $3-
        dec %x
      }
    }
  }
}



!masskick #Channel - Kicks everyone but you.

**Untested**

Edit: Cannot kick other ops now.

-Andy

Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Maybe you should become friends with the other people in that channel? Or make it invite only or something?

Joined: Sep 2005
Posts: 15
O
Pikka bird
OP Offline
Pikka bird
O
Joined: Sep 2005
Posts: 15
haha smile well just like scripts. want to create my own in I understand it all shocked


Link Copied to Clipboard