From WikiChip
Difference between revisions of "mirc/identifiers/$abook"
(→Properties) |
|||
Line 24: | Line 24: | ||
|- | |- | ||
| '''picture''' || Returns the filename of the picture, if any, 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 | | '''noteN''' || Returns the information in the notes area for the address book match where N is the Nth line |
Revision as of 18:23, 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)[.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. |
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