From WikiChip
Difference between revisions of "mirc/commands/wavplay"
< mirc‎ | commands

(Created /wavplay command - mIRC)
 
 
(13 intermediate revisions by 4 users not shown)
Line 1: Line 1:
'''Note:''' '''/wavplay''' has essentially been replaced by the '''[[/splay command - mIRC|/splay]]''' command.
+
{{mirc title|/wavplay Command}}
 +
'''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 8: Line 9:
 
== Switches ==
 
== Switches ==
 
None
 
None
 +
 +
== Parameters ==
  
 
== Examples ==
 
== Examples ==
Line 33: Line 36:
  
 
== Compatibility ==
 
== Compatibility ==
Added: mIRC v3.5
+
{{mIRC compatibility|3.5}}
 +
 
 +
 
 +
Removed: mIRC v5.51
  
Added On: 07/08/95
+
Removed On: 19/02/1999
  
 
== See Also ==
 
== See Also ==
[[/splay command - mIRC|/splay]]
+
{{mIRC|/splay}}
[[/vol command - mIRC|/vol]]
+
 
[[$sound identifier - mIRC|$sound]]
+
{{mIRC|/vol}}
[[$vol identifier - mIRC|$vol]]
+
 
 +
{{mIRC|$sound}}
 +
 
 +
{{mIRC|$vol}}
 +
{{mIRC command list}}
 +
 
 +
[[Category:mIRC commands|wavplay command - mIRC]]

Latest revision as of 18:46, 2 May 2023

Note: /wavplay has essentially been replaced by the /splay command.

The /wavplay command is used to play a .wav file of your choosing.

Synopsis[edit]

/wavplay <sound.wav>

Switches[edit]

None

Parameters[edit]

Examples[edit]

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[edit]

Added: mIRC v3.5
Added on: 07 Aug 1995
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


Removed: mIRC v5.51

Removed On: 19/02/1999

See Also[edit]

/splay

/vol

$sound

$vol

[Expand]
v · d · e mIRC commands list