Syntax: #BEEP [value]
Related: #PLAY

Plays the current beep sound. If you specify a numeric value, then the corresponding windows event is played instead. The default beep sound has a value of zero.

Note that zMUD does not pause while the sound is playing. Thus, playing two beeps in a row will only sound one beep, since the first one is still playing when you start the second. To play two beeps, use the WAIT command to insert a delay.

BEEP examples

#BEEP 16
play the sound for windows event 16
sounds two beeps with a 1/2 second delay. Note that zMUD continues to process other events during the delay, so this won’t slow you down.