listusers {
var %level = $$1, %uz = 1
; ^^ use /var to make local variables [color:green]/help local variables[/color]
echo -ag -
echo -ag *** Beginning of List: User level %level
; find all users of that level
while $ulist(*,%level,%uz) {
var %a = $ifmatch
; check for .info and display if it is there.
if $ulist(%a,%level,1).info { echo -ag * %uz $+ : $ifmatch ( $+ %a $+ ) }
inc %uz
}
echo -ag *** End of List: Users level %level
echo -ag -
}