From WikiChip
Difference between revisions of "mirc/identifiers/$vcmd"
< mirc‎ | identifiers

(Created $vcmd identifier - mIRC)
 
m (See also)
Line 27: Line 27:
 
* [[On vcmd - mIRC|ON VCMD Event]]
 
* [[On vcmd - mIRC|ON VCMD Event]]
  
[[Category:mIRC identifier]]
+
[[Category:mIRC identifiers]]

Revision as of 00:55, 23 June 2014

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