From WikiChip
Difference between revisions of "mirc/on events/on vcmd"
(Created page with "The '''on VCMD''' event triggers when the Speech recognition software matches a word you have spoken to a word in a list of words. == Synopsis == <pre>ON <level>:VCMD:<*|#|?...") |
|||
Line 27: | Line 27: | ||
on 1:vcmd:*:*:echo You said: $1- | on 1:vcmd:*:*:echo You said: $1- | ||
</source> | </source> | ||
+ | |||
+ | == Compatibility == | ||
+ | {{mIRC compatibility|5.7}} | ||
+ | |||
+ | == See Also == | ||
+ | * {{mIRC|List of on events|mIRC events}} | ||
+ | * {{mIRC|/vcmd}} | ||
+ | * {{mIRC|/vcadd}} | ||
+ | * {{mIRC|/vcrem}} | ||
+ | * {{mIRC|$vcmdver}} | ||
+ | * {{mIRC|$vcmdstat}} | ||
+ | * {{mIRC|$vcmd}} | ||
+ | |||
+ | [[Category:MIRC on events]] |
Revision as of 23:18, 28 July 2014
The on VCMD event triggers when the Speech recognition software matches a word you have spoken to a word in a list of words.
Synopsis
ON <level>:VCMD:<*|#|?|@>:<commands>
Parameters
<*|#|?|@>The location from which you want to listen for spoken word.
<commands>The commands to be performed when the event listener's criteria is met.
Example
alias vctest { if ($vcmdver == $null) halt vcmd -c on vcadd connect Dalnet, connect Efnet, connect Undernet, connect IRCnet vcadd Part Channel, Disconnect, List Commands, Moo Cow } on 1:vcmd:connect*:*:server $2 on 1:vcmd:part channel:*:if ($active ischan) part $active on 1:vcmd:disconnect:*:quit on 1:vcmd:list commands:*:vcmd -l on 1:vcmd:moo cow:*:splay moo.wav on 1:vcmd:*:*:echo You said: $1-
Compatibility
Added: mIRC v5.7
Added on: 02 Feb 2000
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.