I would even put the enable/disable status into a .INI file and use READPROFILESTRING to read/change/check status. Then you don't need to edit the script whne making changes.
code:
; binary values to enable/disable Internet Access
[Rooms]
S1=0
S2=1
S3=0
S4=0
S5=1

code:
$room=split(@wksta,"-")[0]
$status=readprofilestring('status.ini','Rooms',$room)
if $status
; enable Internet access
else
; disable Internet access
endif

_________________________
There are two types of vessels, submarines and targets.