(Created $avoice identifier - mIRC) |
(→See Also) |
||
Line 39: | Line 39: | ||
* [[/pop command - mIRC|/pop]] | * [[/pop command - mIRC|/pop]] | ||
* [[/pvoice command - mIRC|/pvoice]] | * [[/pvoice command - mIRC|/pvoice]] | ||
+ | |||
+ | [[Category:mIRC identifiers]] |
Revision as of 19:56, 23 June 2014
The $avoice identifier allows you to get data from your Auto-Voice list in mIRC.
Synopsis
$avoice(address/N)[.property]
Note: $avoice by itself returns $true if auto-voice is enabled, otherwise it returns $false.
Parameters
addressReturns any match based on the specified address from the auto-voice list.
NReturns any match in the auto-voice list based on the Nth entry in the list. If N is 0, the total amount of addresses in the auto-voice list will be returned.
Properties
typeIf a match is found, returns the list of channels associated with its auto-voice.
networkReturns which network the auto-voice is associated with.
Examples
Echo to the active window whether or not auto-voice is enabled
//echo -a $avoice
Echo to the active window the total number of addresses in the auto-voice list
//echo -a $avoice(0)
Echo to the active window the network that the match is associated with
//echo -a $avoice(*testhost.com).network
Compatibility
Added: mIRC v5.9
Added On: 26/04/2001