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

(Created $aop identifier - mIRC)
 
m
Line 14: Line 14:
 
<span style="display: inline-block; width: 80px;">'''type'''</span>If a match is found, returns the list of channels associated with its auto-op.
 
<span style="display: inline-block; width: 80px;">'''type'''</span>If a match is found, returns the list of channels associated with its auto-op.
  
<span style="display: inline-block; width: 80px;">'''network'''</span>Returns the network returns which network the auto-op is associated with.
+
<span style="display: inline-block; width: 80px;">'''network'''</span>Returns which network the auto-op is associated with.
  
 
== Examples ==
 
== Examples ==

Revision as of 19:51, 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