Your right LLigetfa, the @lserver will not garantee the right server.

Will this code still need UDF functions to go along with it? And do I need the spacing in my IP addresses, or can I type them in normal?

code:
  
SELECT
CASE (@IPADDRESS0 >= "10. 1. 1. 0") AND (@IPADDRESS0 < "10. 1. 1.255") $Vpn =

"No"
CASE (@IPADDRESS0 >= "10. 2. 1. 0") AND (@IPADDRESS0 < "10. 2. 1.255") $Vpn =

"No"
CASE (1) $Vpn = "Yes"
ENDSELECT

IF ($Vpn = "No")
CALL "iowafalls.kix"
ELSE
CALL "ackley.kix"
ENDIF

_________________________
Everything is okay in the end. If it's not okay, then it's not the end.