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...") |
|||
(2 intermediate revisions by one user not shown) | |||
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. | ||
Line 13: | Line 13: | ||
The command will run until the audio file is finished playing. | The command will run until the audio file is finished playing. | ||
+ | |||
+ | [[File:playsoundcomm.jpg]] |
Latest revision as of 20:43, 21 June 2017
This command plays a specified sound file. The command is an Audio command.
Audio File: The audio file being played.
[edit] 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.