$ialchan » History » Version 7
Per Amundsen, 12/13/2019 06:31 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | *$ialchan(nick|mask,#,[N])* |
||
4 | |||
5 | Returns the Nth address on the specified channel matching nick or mask in the Internal Address List. |
||
6 | |||
7 | *Parameters* |
||
8 | |||
9 | nick|mask - Nick or mash to lookup. |
||
10 | 2 | Per Amundsen | <notextile>#</notextile> - The channel to lookup on. |
11 | 1 | Per Amundsen | [N] - If N = 0 number of addresses, otherwise the Nth address (default is 1). (optional) |
12 | |||
13 | *Properties* |
||
14 | |||
15 | 4 | Per Amundsen | .pnick - Returns the channelnick. (includes prefix) |
16 | 7 | Per Amundsen | .cnick - Returns the nick in .@%+nick format. (Only the highest channel prefix is returned, *AdiIRC only*) |
17 | 1 | Per Amundsen | .nick - Returns the nick. |
18 | .user - Returns the realname/fullname. |
||
19 | .host - Returns the hostname. |
||
20 | .addr - Returns the address in ident@host format. |
||
21 | .mark - The user [[/ialmark|mark]]. |
||
22 | 7 | Per Amundsen | .account - Returns the account name. (*AdiIRC only*, [[IRCv3]] feature) |
23 | .isaway - Returns [[$true]] if the user is away, otherwise [[$false]]. *(AdiIRC only)* |
||
24 | 1 | Per Amundsen | |
25 | *Example* |
||
26 | |||
27 | <pre> |
||
28 | ; Prints number of matches from 'nick' on '#channel'. |
||
29 | //echo -ag $ialchan(nick, #, 0) |
||
30 | |||
31 | ; Prints the first matc from 'nick' on '#channel'. |
||
32 | //echo -ag $ialchan(nick, #, 1) |
||
33 | </pre> |
||
34 | |||
35 |