Excuse me for my dumbness but with that NicInfo function how would you do this:

IF NIC=VPN Adapter
Skip to local adapter
ENDIF

IF DNSSUFFIX = domain.com
look at 3rd octet of IP address
set 3rd octet to $3rdOctet
ELSE
exit
ENDIF


I'm just not sure how to pull info out of the array as I do not have much experience with using arrays at all...I can just google it if it is too troublesome I keep peppering you guys with these dumb questions! Thanks again!