mIRC Homepage
Posted By: ownageee3 Masskick and not get flooded. - 27/09/05 04:24 PM
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
Posted By: MikeChat Re: Masskick and not get flooded. - 27/09/05 09:01 PM
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*
Posted By: ownageee3 Re: Masskick and not get flooded. - 27/09/05 09:05 PM
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!!!
Posted By: SladeKraven Re: Masskick and not get flooded. - 27/09/05 11:22 PM
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
Posted By: Kelder Re: Masskick and not get flooded. - 27/09/05 11:29 PM
Maybe you should become friends with the other people in that channel? Or make it invite only or something?
Posted By: ownageee3 Re: Masskick and not get flooded. - 28/09/05 11:12 AM
haha smile well just like scripts. want to create my own in I understand it all shocked
© mIRC Discussion Forums