Supervising the Network
5-30
Customizing the User Environment
Login Script Commands and Variables
FDISPLAY SYS:PUBLIC\MESSAGES\SYSNEWS.TXT
END
FIRE PHASERS
Use FIRE PHASERS to signal the workstation to emit a phaser sound.
Command Format
FIRE n
Replace n with the number of times you want this sound to occur.
Using FIRE PHASERS
Use this command alone to generate the phaser sound whenever a user logs
in. Use FIRE PHASERS with the IF…THEN command to make the sound
execute a different number of times depending on the circumstances of the
login.
Examples
The following line executes the phaser sound four times upon login:
FIRE 4
To use an environment variable as the number of times to fire, use % before
the variable, as follows:
FIRE %environment variable
Either of the following lines fires the phaser five times on Thursdays:
IF DAY_OF_WEEK=“Thursday” THEN FIRE 5
or
FIRE %NDAY_OF_WEEK
The identifier variable %NDAY_OF_WEEK indicates a number that
corresponds to the day of the week. Since Thursday is the fifth day of the
week, phasers fire five times on Thursdays.
For more information about using identifier variables, see “Identifier
Variables” on in this chapter.