From WikiChip
mirc/identifiers/$aop
< mirc‎ | identifiers
Revision as of 19:49, 23 June 2014 by Zmodem (talk | contribs) (Created $aop identifier - mIRC)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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 the network returns 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