$aop

From Scriptwiki
Revision as of 09:17, 2 July 2007 by Cail (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns infomation about your autoop list.

$aop(N/address)

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

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


$aop(N/address) has two properties:

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

Example

echo -a $aop

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


echo -a $aop(1).type

This will echo the list of channels the first entry in your autoop list would get op.

See Also

  • /aop to add or remove an address/nick to/from your autoop list.