Project

General

Profile

$abook » History » Version 4

Per Amundsen, 12/26/2018 08:35 PM

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