Statement: Action, Type: Initial
Play Sound
Format: Play Sound "text-string"
where
-
text-string = media WAV file in quotation marks " "
Description
The Play Sound identifier will play a media WAV file within the text-string message.
This is a good way to notify the user with sound when a condition or action has occurred during a system.
Example
Every time we win on the Number 19 bet, we want to play a sound to notify of such condition. The following example will perform this task.
RX Script | Copy Code |
---|---|
if Number 19 has won each time begin Play Sound "C:\win.wav" end |