PLAY
Syntax: #PL filename|off
Related: #MEDIA
Plays the specified multimedia file. The file type is determined from the file extension of the filename. Tested formats are WAV, MID, AVI. If filename refers to a drive (as in D:), the drive is assumed to point to a CDROM with a musical CD in it.
Note that zMUD does not pause while the media is playing. Also, only one media can be playing at any given time.
PLAY examples
#PLAY start.wav play the startup wav audio file
#PLAY D: start playing the CD on drive D:
sound=ouch.wav
#TRIGGER {hits you} {#PLAY @sound} plays the file ouch.wav whenever you are hit. There are real possibilities here!
#PLAY off Stops playing the current file