Code:
break ON
cls

;Home server Subnet
$baseIP = "10.203.4" 
DIM $IP
$check = 0
$username = "joel.cant"
$backuplocation = "H:\"


$IP = Join(Split(@IPADDRESS0," "),'')

If Instr($IP,$baseIP)
 $check = 1
else
 	$IP = Join(Split(@IPADDRESS1," "),'')
      If Instr($IP,$baseIP)
 		$check = 1
	else
		$IP = Join(Split(@IPADDRESS2," "),'')
		
		If Instr($IP,$baseIP)  
 		$check = 1
		else
			
			$IP = Join(Split(@IPADDRESS3," "),'')
			
			If Instr($IP,$baseIP)  
 			$check = 1
			else
 			$check = 0
			endif   
		endif 
	endif 
endif 

if ($check = 1)

? "Run Backup"
? "Backup Will run when you strike a key" get $x

;RUN 'c:\robocopy "c:\documents and settings\$username\My Documents" H:\$backuplocation /MIR /R:5 /W:10'


exit
else

exit

endif


On better thinking I've come up with that. How do I escape the run command to allow the variables to be seen in the command line.

Thanks

Joel