Advertisement
westor

MassKick Aalias for Jaxx v1.1

May 24th, 2020
2,591
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
mIRC 0.43 KB | None | 0 0
  1. alias masskick {
  2.   if ($active !ischan) { echo 4 -a Error: Your active is not a channel! | return }
  3.   if ($me !isop $chan) { echo 4 -a Error: You are not a channel operator! | return }
  4.  
  5.   var %t = $nick($chan,0,r)
  6.  
  7.   if (!%t) { echo 4 -a Error: Not any regular user is right now on! | return }
  8.  
  9.   var %i = 1
  10.   while (%i <= %t) {
  11.     var %n = $nick($chan,%i,r)
  12.  
  13.     if (%n) { kick $chan %n Mass-Kick out! }
  14.  
  15.     inc %i
  16.   }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement