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

m (Bot: Adding a template)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{mIRC menu}}
+
{{mirc title|/wavplay Command}}
 
'''Note:''' '''/wavplay''' has essentially been replaced by the '''{{mIRC|/splay}}''' command.
 
'''Note:''' '''/wavplay''' has essentially been replaced by the '''{{mIRC|/splay}}''' command.
  
Line 9: Line 9:
 
== Switches ==
 
== Switches ==
 
None
 
None
 +
 +
== Parameters ==
  
 
== Examples ==
 
== Examples ==
Line 35: Line 37:
 
== Compatibility ==
 
== Compatibility ==
 
{{mIRC compatibility|3.5}}
 
{{mIRC compatibility|3.5}}
 +
 +
 +
Removed: mIRC v5.51
 +
 +
Removed On: 19/02/1999
  
 
== See Also ==
 
== See Also ==
Line 46: Line 53:
 
{{mIRC command list}}
 
{{mIRC command list}}
  
[[Category:MIRC commands]]
+
[[Category:mIRC commands|wavplay command - mIRC]]

Latest revision as of 17: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

v · d · e mIRC commands list

A /abook, /action, /add, /ajinvite, /alias, /aline, /ame, /amsg, /anick, /aop, /auser, /auto, /autojoin, /avoice, /away

B /background, /ban, /bcopy, /beep, /bindip, /bread, /break, /breplace, /bset, /btrunc, /bunset, /bwrite

C /channel, /clear, /clearall, /clearial, /cline, /clipboard, /close, /closechats, /closedccs, /closefserves, /closemsg, /cnick, /color, /colour, /comclose, /comlist, /commands, /comopen, /comreg, /continue, /copy, /creq, /ctcp, /ctcpreply, /ctcps

D /dcc, /dccserver, /dde, /ddeserver, /debug, /dec, /describe, /dialog, /did, /didtok, /disable, /disconnect, /dlevel, /dline, /dll, Template:mIRC/donotdisturb, /dns, /dqwindow, /drawcopy, /drawdot, /drawfill, /drawline, /drawpic, /drawrect, /drawreplace, /drawrot, /drawsave, /drawscroll, /drawsize /drawtext

E /ebeeps, /echo, /editbox, /else, /elseif, /emailaddr, /enable, /events, /exit

F /fclose, /filter, /findtext, /finger, /firewall, /flash, /flist, /flood, /flush, /flushini, /fnord, /font, /fopen, /fseek, /fsend, /fserve, /fullname, /fupdate, /fwrite

G /ghide, /gload, /gmove, /gopts, /goto, /gplay, /gpoint, /gqreq, /groups, /gshow, /gsize, /gstop, /gtalk, /gunload, /guser

H /hadd, /halt, /haltdef, /hdec, /hdel, /help, /hfree, /hinc, /hload, /hmake, /hotlink, /hop, /hsave

I /ial, /ialclear, /ialmark, /identd, /if, /ignore, /iline, /inc, /iuser

J /join

L /leave, /linesep, /links, /list, /load, /loadbuf, /localinfo, /log, /logview

M /maxdepth, /mdi, /me, /menubar, /mkdir, /mnick, /mode, /msg

N /noop, /notice, /notify

O /onotice, /omsg

P /pareline, /part, /partall, /pdcc, /perform, /play, /playctrl, /pop, /protect, /proxy, /pvoice

Q /qme, /qmsg, /query, /queryrn, /quit, /quote

R /raw, /registration, /reload, /remini, /remote, /remove, /rename, /renwin, /reseterror, /resetidle, /return, /returnex, /rlevel, /rline, /rmdir, /run, /ruser

S /save, /savebuf, /saveini, /say, /scid, /scon, /server, /set, /setlayer, /showmirc, /signal, /sline, /sockaccept, /sockclose, /socklist, /socklisten, /sockmark, /sockopen, /sockpause, /sockread, /sockrename, /sockudp, /sockwrite, /sound, /speak, /splay, /sreq, /strip, /switchbar

T /timer, /timestamp, /tip, /tips, /titlebar, /tnick, /tokenize, /toolbar, /topic /tray, /treebar

U /ulist, /unload, /unset, /unsetall, /updatenl, /url, /username, /uwho

V /var, /vcadd, /vcmd, /vcrem, /vol

W

X /xyzzy