the only reason "if @ras " works buy it self is that kix automatically assumes that if there is no operator (=,<,>,<>,<=, >=,....) it will default to "=1"

so if that person running this script

if @ras
quit
endif

only has 1, ras connection at that time, then it would quit.

Jochen, you are right the surefire way would to use a >0 or a >=1. Plus i hate having half an if statement hanging out there

Bryce