From WikiChip
mirc/identifiers/$vcmd
< mirc‎ | identifiers
Revision as of 00:48, 23 June 2014 by Zmodem (talk | contribs) (Created $vcmd identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The $vcmd identifier is used to retrieve commands in the voice command list.

Synopsis

$vcmd(N)

Paramters

NUsed to specify the Nth command in the list, or can be 0 to retrieve the total amount of commands in the voice command list.

Example

Echo the total amount of voice commands to the active window

//echo -a $vcmd(0)

Example

Echo the 3rd command in the voice command list to the active window

//echo -a $vcmd(3)

Example

Echo the entire list of voice commands to the active window

//var %i = 1 | while (%i <= $vcmd(0)) { echo -a $vcmd(%i) | inc %i }

See also