Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias masskick {
- if ($active !ischan) { echo 4 -a Error: Your active is not a channel! | return }
- if ($me !isop $chan) { echo 4 -a Error: You are not a channel operator! | return }
- var %t = $nick($chan,0,r)
- if (!%t) { echo 4 -a Error: Not any regular user is right now on! | return }
- var %i = 1
- while (%i <= %t) {
- var %n = $nick($chan,%i,r)
- if (%n) { kick $chan %n Mass-Kick out! }
- inc %i
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement