Mass Kill

By Xeek Droagon on Jun 11, 2005

only works if your an oper, kills everyone in at active chan except you, good for if theres a flood attack or something so its not completely useless, just change to /gline if you want instead of /kill

alias masskill {
  if ($left($active,1) != $chr(35)) {
    echo -a You need to be in a channel to use.
  }
  if (o !isin $usermode) {
    echo -a Please /oper first.
  }
  var %a 1
  while ($nick(#,0,a) >= %a) {
    if ($nick(#,%a,a) == $me) inc %a
    kill $nick(#,%a,a) $1-
    inc %a
  }
}

Comments

Sign in to comment.
TophBeiFong   -  Jul 31, 2010

Abuse oper, but it works for channels that has bots or clones in them 8/10

 Respond  
ThievingSix   -  Oct 08, 2006

I found it useful for me needs.

 Respond  
err2   -  Jul 11, 2005

yeh

 Respond  
Whitey   -  Jul 06, 2005

Well, you could put in a raw loop to see if anyone in the room is an oper :).

/Whitey

 Respond  
QuickStep   -  Jun 12, 2005

small sidenote: when checking for errors, make sure you actually halt/return the script afterwards, the way you have it now, it will still continue even if there is an error

 Respond  
supergeo   -  Jun 12, 2005

it was a correct comment though. Just kill the other oppers and see if they mind... Why would you kill everybody because of a flood?

 Respond  
LIQUID_NiTrO   -  Jun 12, 2005

Apologies for my first comment; it was rude and I was in a bad mood :(

 Respond  
DarthReven   -  Jun 11, 2005

you never REALY have to change the room to +im and band that flooders

 Respond  
Xeek Droagon   -  Jun 11, 2005

yea but, i intend it to be used for if you REALLY have to

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.