From WikiChip
Difference between revisions of "mirc/commands/wavplay"
m (Bot: Adding a template) |
m (Bot: Fixing links) |
||
Line 1: | Line 1: | ||
− | '''Note:''' '''/wavplay''' has essentially been replaced by the ''' | + | '''Note:''' '''/wavplay''' has essentially been replaced by the '''{{mIRC|/splay}}''' command. |
The '''/wavplay''' command is used to play a .wav file of your choosing. | The '''/wavplay''' command is used to play a .wav file of your choosing. | ||
Line 38: | Line 38: | ||
== See Also == | == See Also == | ||
− | + | {{mIRC|/splay}} | |
− | + | {{mIRC|/vol}} | |
[[$sound identifier - mIRC|$sound]] | [[$sound identifier - mIRC|$sound]] |
Revision as of 19:00, 5 July 2014
Note: /wavplay has essentially been replaced by the /splay command.
The /wavplay command is used to play a .wav file of your choosing.
Synopsis
/wavplay <sound.wav>
Switches
None
Examples
Play the file mywav.wav located in the Sounds directory of mIRC
/wavplay mywav.wav
Short alias script that will ask you which wav file you want to play
alias playwav { ; First, we create a variable, %file, to hold our ; user-selected wav file. Note that this is surrounded ; by the $qt() identifier which makes sure that the ; entire selection is surrounded by quotes. This is ; for older Windows' backward-compatibility. var %file = $qt($sfile(sounds\*.wav,Choose Wav,OK)) ; Check to make sure the %file variable contains a ; real file. if ($isfile(%file)) { ; Now we simply play the wav file using /wavplay wavplay %file } }
Compatibility
Added: mIRC v3.5
Added On: 07/08/95
See Also
mIRC commands list