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

m (Bot: Adding a template (template:mIRC identifier list))
m (Bot: Fixing links)
Line 20: Line 20:
  
 
= See also =
 
= See also =
* [[/vcadd command - mIRC|/vcadd]]
+
* {{mIRC|/vcadd}}
* [[/vcmd command - mIRC|/vcmd]]
+
* {{mIRC|/vcmd}}
* [[/vcrem command - mIRC|/vcrem]]
+
* {{mIRC|/vcrem}}
 
* [[$vcmdver identifier - mIRC|$vcmdver]]
 
* [[$vcmdver identifier - mIRC|$vcmdver]]
 
* [[$vcmdstat identifier - mIRC|$vcmdstat]]
 
* [[$vcmdstat identifier - mIRC|$vcmdstat]]

Revision as of 20:05, 5 July 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

[Expand]
v · d · e mIRC identifier list