From WikiChip
Difference between revisions of "mirc/identifiers/$abook"
(→Properties) |
|||
Line 3: | Line 3: | ||
== Synopsis == | == Synopsis == | ||
− | <pre>$abook(nick,N)[.property]</pre> | + | <pre>$abook(nick/N[,N])[.property]</pre> |
== Parameters == | == Parameters == | ||
− | <span style="display: inline-block; width: 50px;">'''nick'''</span>The nickname that you wish to look up in the address book. This can be a {{mirc|wildcard}} such as ''ni*'', which would find all nicknames beginning with ''ni''. | + | <span style="display: inline-block; width: 50px;">'''nick/N'''</span>The nickname that you wish to look up in the address book. This can be a {{mirc|wildcard}} such as ''ni*'', which would find all nicknames beginning with ''ni''. It can also be the Nth nickname in the book. |
<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. |
Revision as of 18:27, 16 August 2022
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[,N])[.property]
Parameters
nick/NThe 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. It can also be the Nth nickname in the book.
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. |
ipaddr | Returns the ip address, 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