From WikiChip
Difference between revisions of "mirc/identifiers/$abook"
(→Paramters) |
(→Properties) |
||
Line 8: | Line 8: | ||
<span style="display: inline-block; width: 50px;">'''N'''</span>This will return the Nth matching nickname relative to the '''nick''' parameter. If N is 0, it will return the total matches. | <span style="display: inline-block; width: 50px;">'''N'''</span>This will return the Nth matching nickname relative to the '''nick''' parameter. If N is 0, it will return the total matches. | ||
− | |||
− | |||
== Properties == | == Properties == |
Revision as of 13:12, 17 December 2015
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
$abook will return information about nicknames listed inside of the mIRC Address Book.
Synopsis
$abook(nick,N)[.property]
Parameters
nickThe nickname that you wish to look up in the address book. This can be a wildcard such as ni*, which would find all nicknames beginning with ni.
NThis will return the Nth matching nickname relative to the nick parameter. If N is 0, it will return the total matches.
Properties
Property | Description |
---|---|
nick | Returns the nickname attached to the specific address book match. |
info | Returns the info area of the address book for the match, specifically the address. |
Returns the email associated with the address book match. | |
website | Returns the website URL associated with the address book match. |
picture | Returns the filename of the picture, if any, associated with the address book match. |
noteN | Returns the information in the notes area for the address book match where N is the Nth line |
Example
Echo all address matches to the active window
//echo -a $abook(*,0)
Echo the filename for the picture of the first address book match to the active window
//echo -a $abook(*,1).picture
Compatibility
Added: mIRC v5.6
Added on: 03 Jun 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See Also
mIRC identifier list