ryanro, instead of
case $gateway=" 10. 0. 0. 1"
try it with:
case instr("$gateway","10.0.0.1")
or just
case $gateway=" 10.0.0.1"

in the case 1 print out the gateway variable to see which is the correct syntax.
like:
case 1
"gateway is $gateway" get $
quit

_________________________
!

download KiXnet