quickies...
what error you are trying to catch in:
code:
while not @error
$Pilot = enumvalue($database + "\Onlinepilots",$i)

mmm... that is sure that it's not for enumval...
_________________________
!

download KiXnet