Originally Posted By: psykix

....
It's years since I used Kix32, and I've forgotten it all!
....


LOL It's like riding a bike. Start doing it and it all comes back.
This should get you going. Mind the space(s) when an IP octet is les then three characters long.

 Code:
Break on

Select
	Case Left(@IPADDRESS0, 8) = " 10.191."
		$rc = MessageBox ("You have logged on at the Manchester office", "Logon info...", 64)
	Case Left(@IPADDRESS0, 8) = " 10.131."
		$rc = MessageBox ("You have logged on at the Liverpool office", "Logon info...", 64)
	Case 1
		$rc = MessageBox ("Unable to determine your current office.", "Logon info...", 64)
EndSelect
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.