mIRC Homepage
Posted By: MuscleCar How do I kick ever one but Ops? - 11/07/04 06:57 PM
How do I kick every one but ops? in a channel
Posted By: tidy_trax Re: How do I kick ever one but Ops? - 11/07/04 07:03 PM
var %i = 1
while ($nick($chan,%i,a,o)) {
kick $chan $ifmatch
inc %i
}
Posted By: tsoglanos Re: How do I kick ever one but Ops? - 11/07/04 07:04 PM
;explain

this Identify returns all nicks except ops $nopnick(#,0)

;Loop

Code:
 
alias knop {
var %x = $nopnick($1,0)
while (%x) {
kick $1 $nopnick($1,%x) 
dec %x
 }
}

;dont try this if you are not oped on the channel

:usage:/knop #channelname

 
© mIRC Discussion Forums