Difference between revisions of "$avoice"

From Scriptwiki
Jump to: navigation, search
 
m
 
Line 20: Line 20:
  
 
== See Also ==
 
== See Also ==
To add or remove an address/nick to/from your autovoice list, take a look at [[Avoice|/avoice]].
+
* [[Avoice|/avoice]] to add or remove an address/nick to/from your autovoice list.
  
 
[[Category:Control]]
 
[[Category:Control]]
 
[[Category:Other Identifiers]]
 
[[Category:Other Identifiers]]

Latest revision as of 09:17, 2 July 2007

Returns infomation about your autovoice list.

$avoice(N/address)

Note that $avoice will return $true if your automatically voicing is turned on, otherwise $false.

If you specify an address, the first matching address in the autovoice list is returned.


$avoice(N/address) has two properties:

  • type returns the list of channels, the user would get voice in.
  • network returns the network it is associated to, if any.

Example

echo -a $avoice

Will echo $true to your active window as automatically voicing is turned on usually.


echo -a $avoice(1).type

This will echo the list of channels the first entry in your autovoice list would get voice in.

See Also

  • /avoice to add or remove an address/nick to/from your autovoice list.