Use FIRE PHASERS to signal the workstation to emit a phaser sound. FIRE has the following command format:
FIRE nReplace n with the number of times you want this sound to occur.
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.
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 the percent sign (%) 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 5The 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.FIRE %NDAY_OF_WEEK
For more information about using identifier variables, see ``Identifier variables''.