on vcmd
Indice
The on VCMD event triggers when the Speech recognition software matches a word you have spoken to a word in a list of words.
| Contents - 1 Synopsis - 2 Parameters - 3 Example - 4 Compatibility - 5 See Also |
Synopsis
ON <level>:VCMD:<*|#|?|@>:<commands>
Parameters
**<*|#|?|@>**The location from which you want to listen for spoken word.
**
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/02/2000
Note: Individual switches were not taken into consideration.