$abook » History » Version 3
  Per Amundsen, 05/24/2018 10:09 AM 
  
| 1 | 1 | Per Amundsen | _Added in 2.2_  | 
|---|---|---|---|
| 2 | |||
| 3 | *$abook(nick|N,[N])*  | 
||
| 4 | |||
| 5 | Returns information about nicknames listed in the Address book.  | 
||
| 6 | |||
| 7 | 3 | Per Amundsen | _Nick can be a [[Scripting_Wildcards|wildcard]]._  | 
| 8 | 1 | Per Amundsen | |
| 9 | *Parameters*  | 
||
| 10 | |||
| 11 | nick|N - The nick to lookup, if N = 0, number of nicks, otherwise the Nth nick.  | 
||
| 12 | [N] - if N = 0, number of nicks, otherwise the Nth nick. (optional)  | 
||
| 13 | |||
| 14 | *Properties*  | 
||
| 15 | |||
| 16 | .nick - The nickname.  | 
||
| 17 | .info - The name.  | 
||
| 18 | .website - The website.  | 
||
| 19 | .address - The address. (AdiIRC only)  | 
||
| 20 | .email - The email.  | 
||
| 21 | .picture - The picture filename.  | 
||
| 22 | .noteN - The Nth note.  | 
||
| 23 | |||
| 24 | *Example*  | 
||
| 25 | |||
| 26 | <pre>  | 
||
| 27 | 2 | Per Amundsen | //echo -ag Number of nicks in the Address book is $abook(*, 0)  | 
| 28 | 1 | Per Amundsen | |
| 29 | 2 | Per Amundsen | //echo -ag The first nick in Address book is $abook(*, 1)  | 
| 30 | 1 | Per Amundsen | </pre>  |