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

m
m (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 $aop identifier allows you to get data from your Auto-Op list in mIRC.

Synopsis

$aop(address/N)[.property]

Note: $aop by itself returns $true if auto-op is enabled, otherwise it returns $false.

Parameters

addressReturns any match based on the specified address from the auto-op list.

NReturns any match in the auto-op list based on the Nth entry in the list. If N is 0, the total amount of addresses in the auto-op list will be returned.

Properties

typeIf a match is found, returns the list of channels associated with its auto-op.

networkReturns which network the auto-op is associated with.

Examples

Echo to the active window whether or not auto-op is enabled

//echo -a $aop

Echo to the active window the total number of addresses in the auto-op list

//echo -a $aop(0)

Echo to the active window the network that the match is associated with

//echo -a $aop(*testhost.com).network

Compatibility

Added: mIRC v5.9

Added On: 26/04/2001

See Also