$ial » History » Version 1
Per Amundsen, 08/10/2015 08:39 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$ial* |
||
4 | |||
5 | Returns [[$true]] if Internal Address List is enabled, otherwise [[$false]]. |
||
6 | |||
7 | _Always returns [[$true]] in AdiIRC._ |
||
8 | |||
9 | ----------------------------------------------------------------------------- |
||
10 | |||
11 | _Added in 1.9.0_ |
||
12 | |||
13 | *$ial(nick/mask,[N])* |
||
14 | |||
15 | Returns the Nth address matching mask in the Internal Address List. |
||
16 | |||
17 | *Parameters* |
||
18 | |||
19 | nick/mask - Nick or mask to lookup. (can be a wildcard) |
||
20 | [N] - If N = 0, number of lookup matches, otherwise the Nth match. (optional, default i 1) |
||
21 | |||
22 | *Properties* |
||
23 | |||
24 | .realname - The user realname/fullname. (AdiIRC only) |
||
25 | .account - The user account name. (AdiIRC only, [[IRCv3]] feature) |
||
26 | .nick - The user nick. |
||
27 | .user - The user ident. |
||
28 | .host - The user hostname. |
||
29 | .addr - The user ident@hostname. |
||
30 | .mark - TODO |
||
31 | |||
32 | *Example* |
||
33 | |||
34 | <pre> |
||
35 | ; Print the address 'ident!nick@hostname' for 'nick'. |
||
36 | //echo -ag $ial(nick) |
||
37 | |||
38 | ; Print the number of matches for wildcard search 'nick*'. |
||
39 | //echo -ag $ial(nick*, 0) |
||
40 | |||
41 | ; Print the realname for second match using wildcard search 'nick*'. |
||
42 | //echo -ag $ial(nick*, 2).realname |
||
43 | </pre> |