That's a very cool code, but on some cases i have more than one address for each user, and it wont look for the rest if it finds the 1st matching one..

Why wont this work?
Code:
/listuser {
  var %i = 1
  while $ulist(*,%i).info {
    if ($$1 == $ifmatch) {
      echo -eag * Level $level($ulist(*,%i)) $ifmatch ( $+ $ulist(*,%i) $+ )
    }
    elseif ($$1 != $ifmatch) {
      echo -eag * User $ifmatch was NOT found | halt
    }
    inc %i
  }
}


Thanks for the help! laugh


"All we are saying is give peace a chance" -- John Lennon