alias test {
set %n 1
:a
set %t $nick($chan,%n)
if (%t isvoice $chan) {
echo -a %t Voiced!
set %n $calc(%n + 1)
unset %t
goto a
}
if (%t isop $chan) {
echo -a %t OPed!
set %n $calc(%n + 1)
unset %t
goto a
}
if (%t isreg $chan) {
echo -a %n Norm
set %n $calc(%t + 1)
unset %t
goto a
}
return
}

one it finishes return the ops, it stops



;Check for Life

if (%life == $null) {
goto getlife
}