Windows NT4.0 unattend.txt

Hello,
I wasn't entirely sure where the best place to post this would be but here goes anyway:
I am currently producing silent Installation Cd's for Windows NT4.0 which use script files to automatically configure the installation of the OS without prompting the user for information.

The trouble is the installation CD will be used on many different machines - most of them will have a 3COM adaptor but some might not and will just be using the MS Loopback adaptor as it might not be up and running on a network at that point and the adaptor will be configured at a later date.

So what I am trying to do is detect wether the machine has a 3COM network card or not, if it does I am wanting the script file(in unattend.txt) to follow throught the route of setting it up i.e. DetectAdaptersSection, otherwise if it is not found I want the installation to be setup using the loopback adaptor thus following the AdaptersList route. Trouble is I am not entirely sure of the syntax for these script files and if it can be done i.e. if DetectAdaptors would return the string "ELNK3ISA509" when called?

The following is how I think the file should be setup but it causes a syntax error when it gets to the if statement.
Any ideas would be much appreciated.

[Network]
If DetectAdapters == "ELNK3ISA509"
DetectAdapters = DetectAdaptersSectionInstallAdapters
else
installAdapters = AdaptersList
endif

InstallProtocols = ProtocolsSection
JoinWorkgroup = WORKGROUP
DoNotInstallInternetServer = Yes

[AdaptersList]
LOOP = LOOPParamSection

[DetectAdaptersSection]
DetectCount = 1
LimitTo = ELNK3ISA509
ELNK3ISA509 = ENKIIIParamsSection

[ENKIIIParamsSection]
Transceiver = 0
InterruptNumber = 10
IoBaseAddress = 768

[LOOPParamSection]

[ProtocolsSection]
TC = TCParametersSection
NBF = NetBeuiParams

[TCParametersSection]
DHCP = no
;*******Default addresses which will have to be changed to suit each client machine
IPAddress = 135.127.104.44
Subnet = 255.255.254.0
Gateway = 135.127.104.1

[NetBeuiParams]
[2213 byte] By [bmcnicoll] at [2007-11-17 19:09:34]