Ahh, here we go. I guess i jumped the gun with my first post.
Oh, and with regards to keeping this up, may I suggest those little blue pills [Wink]

Anyway, took a quick look and I would suggest putting some of the stuff in the beginning of your script where you check the gateways and groups into appropriately formatted .INI files for quicker modifications.
Example: GATEWAYS.INI
code:
[164.51.84.129]
Location=01
city=Pensacola
mis=eilandj
[164.51.61.17]
Location=02
city=Panama City
mis=taylorj

GROUPS.INI
code:
[area01]
dcsa=eilandj
dcsaname=Eiland
[area02]
dcsa=taylorj
dcsaname=Taylor
[area51]
dcsa=abuse@cia.gov
dcsaname=Alien Abuse Hotline



[ 06 June 2002, 16:17: Message edited by: sealeopard ]
_________________________
There are two types of vessels, submarines and targets.