Kick from all channels

By ReQueST on May 16, 2004

Simply use: /kickall
It kicks a specified user from all channels were your at, and the user is at.

alias kickall {
  var %n = 1, %b = $comchan($$1,0)
  while (%n <= %b) {
    if ($me isop $comchan($$1,%n)) {
      kick $comchan($$1,%n) $$1 $iif($2-,$2-,Your not welcome here!) 
    }
    inc %n 
  }
}

Comments

Sign in to comment.
Tollezone   -  May 16, 2004

Great, gj!

 Respond  
ReQueST   -  May 16, 2004

I can add ban to. Will post that one to

 Respond  
Tollezone   -  May 16, 2004

Can\'t you do both kick and ban?

 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.