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

m (Fix formatting.)
m (Synopsis: Replace / with |, match helpfile.)
 
Line 4: Line 4:
 
== Synopsis ==
 
== Synopsis ==
 
<pre>$aop
 
<pre>$aop
$aop(address/N)[.property]</pre>
+
$aop(address|N)[.property]</pre>
  
 
'''Note:''' $aop by itself returns ''$true'' if auto-op is enabled, otherwise it returns ''$false''.
 
'''Note:''' $aop by itself returns ''$true'' if auto-op is enabled, otherwise it returns ''$false''.

Latest revision as of 12:02, 26 November 2024

The $aop identifier allows you to get data from your Auto-Op list in mIRC.


Synopsis[edit]

$aop
$aop(address|N)[.property]

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

Parameters[edit]

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[edit]

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[edit]

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[edit]

Added: mIRC v5.9
Added on: 26 Apr 2001
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also[edit]

[Expand]
v · d · e mIRC identifier list