Top

Mass Kick


mIRC Code
+ 0 likes
Please Register to submit score.
Bookmark and Share
Average Score  3.0 (of 1 scores)
Date Added  Dec 06, 2008
Last Updated  Dec 06, 2008
Tags  kick  mass  masskick 

Introduction

This script will kick everybody you can kick off a channel.

It works by doing a /names, saving the data, removing useless parts of information, and then turns it into a list of users to kick.

Syntax: /masskick <channel>

Alternatively, you can right click on the nick list, goto "Control", and then click on "Mass Kick".

Grab the Code

menu nicklist {
  Control
  .Mass Kick { masskick $chan }
}
alias masskick {
  if ($1 != $null) { set -u5 %channel $1 | names $1 }
}
raw 353:*:{
  if ($3 == %channel) {
    set %masskick $remove($1-,^,~,&,@,%,+,$me = $3)
    set %loop $numtok(%masskick,32)
    while (%loop > 0) {
      if ($gettok(%masskick,%loop,32) != $me) { kick %channel $gettok(%masskick,%loop,32) Masskick! }
      dec %loop
    }
    unset %masskick %channel %loop
  }
}
 

Comments

  (2)  RSS
napa182
Comments: 1,454
 
mIRC Snippet:  Mass Kick
Posted on Dec 7, 2008 5:00 am
why not just do
Code:
alias masskick { if ($nick(#,$me,oh)) { var %^ = $nick(#,0) | while (%^) { if ($nick(#,%^) != $me) kick # $v1 MassKick Enjoy! | dec %^ } } }
findfriend
Comments: 5
 
mIRC Snippet:  Mass Kick
Posted on Sep 3, 2009 1:48 am
nappa182: I likes your code. It's good job :-) for me.

Commenting Options

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

  
Bottom