on *:text:!whois & *:#:{
var %a = 1
while %a <= $numtok($3-,32) {
if $level($address($gettok($3-,%a,32),2)) != $2 {
describe # $gettok($3-,%a,32) does not have level $2
}
inc %a
}
}
Usage: !whois <level> <nick(s)>
Hope I understood you correctly...it was a little confusing.