TotalNET Advanced Server 5.2 Reference Manual

Options

condition 

Specify a conditional clause or equation involving any of the identifier variables listed in "Identifier Variables""Identifier Variables. Enclose condition equation values in quotation marks. You may use the following operators in conditional equations:

= "equals" 

<> "does not equal" 

> "is greater than" 

>= "is greater than or equal to" 

< "is less than" 

<= "is less than or equal to" 

and 

Specify all of the surrounding conditional clauses. Use commas to separate conditions in three-part conditional clauses 

or 

Specify one of the surrounding conditional clauses. Use commas to separate conditions in three-part conditional clauses 

command 

Specify a login script command that you want to execute if circumstances meet the specified condition. Place consecutive commands in the then portion on separate lines. 

else 

Restrict the instances of the if...then statement. If you only specify one command after else, the end statement becomes optional. This option must occupy its own line. 

end 

Conclude the if...then sequence. If you specify only one command after the else or if the if...then statement only consists of one logical line, the end statement becomes optional. The end statement must occupy its own line. In a nested if...then statement, end applies only to the current level. Use end for every level that requires it.