PlaySound
From UBot Studio
(Difference between revisions)
(Created page with "This command plays a specified sound file. $Rand is a Audio. '''Audio File:''' The audio file being played. == Example == <pre> playSound("C:\\Users\\Downloads\\sample.w...") |
|||
Line 1: | Line 1: | ||
This command plays a specified sound file. | This command plays a specified sound file. | ||
− | + | The command is an [[Audio]] command. | |
'''Audio File:''' The audio file being played. | '''Audio File:''' The audio file being played. |
Revision as of 16:03, 17 June 2017
This command plays a specified sound file. The command is an Audio command.
Audio File: The audio file being played.
Example
playSound("C:\\Users\\Downloads\\sample.wav")
Running the script will play the selected sound file. The files can be .mp3, .flac, .wav and .wma.
The command will run until the audio file is finished playing.