Top

Mass Kicking Normal User


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  0.0 (of 0 scores)
Date Added  Oct 28, 2009
Last Updated  Oct 28, 2009
Tags  kick  mass  non  normal  user  voiced 

Introduction

It will only kick non-voiced user out from a chan with a timer. u can rip it as u like.

Grab the Code

menu * { 
  Masskick -v {
    msg $chan Mass Kicking Normal User .. 
    mode $chan +i
    var %k = $nick(#,0,a,ov)
    while (%k) && ($me isop $chan) { 
      set %k.number $calc(%k.number + 1)
      kick $chan $nick(#,%k,a,ov) Masskick!!1 ┌∩┐(◣_◢)┌∩┐
      dec %k
    }
    timer 1 15 /mode $chan -i
  }
}
 

Comments

  (3)  RSS
Jethro_
Comments: 438
 
mIRC Snippet:  Mass Kicking Normal User
Posted on Oct 28, 2009 11:18 am
Your current code will kick yourself out. You want to make sure the message doesn't get sent every time when they are voiced. You can just use the r instead of a,ovh, and last but not least, you can use the local variable instead of the global:
Code:
menu * {
  Masskick -v {
    $iif($nick(#,0,r),msg # Mass Kicking Normal User...)
    mode # +i
    var %k = $nick(#,0,r)
    while ($me isop #) && (%k) && ($v1 != $me) {
      var %k.number = $calc(%k.number + 1)
      kick # $nick(#,%k,r) Masskick!!1 ┌∩┐(â—£_â—¢)┌∩â”
      dec %k
    }
    .timer 1 15 mode # -i
  }
}
gooshie
Comments: 66
 
mIRC Snippet:  Mass Kicking Normal User
Posted on Oct 28, 2009 12:32 pm
Code:
Masskick {
  if $nick(#,$me,~&@%) && $nick(#,0,r) {
    var %i 1 | mode # +i
    msg # Mass Kicking Normal User..
    while $nick(#,%i,r) {
      kick # $v1 Masskick | inc %i
    }
    timer 1 15 mode # -i
  }
}
Jethro_
Comments: 438
 
mIRC Snippet:  Mass Kicking Normal User
Posted on Oct 28, 2009 1:32 pm
Nice gooshie, but I was just basing my suggestion off of the original code...lol

Commenting Options

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

  
Bottom