User Guide

74 Novell Client for Windows
Novell Client for Windows
103-000159-001
December 7, 2001
Novell Confidential
Manual 99a38 July 17, 2001
Examples
The following line executes the phaser sound four times upon login:
FIRE 4
The following line executes the rifle sound three times upon login:
FIRE 3 RIFLE.WAV
To use a variable as the number of times to fire, use % before the variable, as
follows:
FIRE %variable
For more information about using variables, see “Using Identifier Variables”
on page 62.
GOTO
Use GOTO to execute a portion of the login script out of the regular sequence.
Set BREAK ON in your login script before experimenting with GOTO loops
so that you can break out of a login script if necessary. See “BREAK” on page
70.
IMPORTANT: Do not use GOTO to enter or exit a nested IF...THEN (page 75)
statement. This usage causes problems for the program.
Command Format
GOTO label
Use label to indicate where the login script should continue executing.
Example
To execute a loop of commands, include the following lines in the login script.
In this case, the commands to be executed are labeled AGAIN (as indicated in
the second line).
SET X="1"
AGAIN:
SET X=<X> + "1"
;see compound strings for this
WRITE <X>
IF <X> < "9" THEN GOTO AGAIN