$ialchan » History » Version 5
Per Amundsen, 05/23/2016 02:34 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 | 1 | Per Amundsen | .nick - Returns the nick. |
| 17 | .user - Returns the realname/fullname. |
||
| 18 | .host - Returns the hostname. |
||
| 19 | .addr - Returns the address in ident@host format. |
||
| 20 | .mark - The user [[/ialmark|mark]]. |
||
| 21 | 5 | Per Amundsen | .account - Returns the account name. (AdiIRC only, [[IRCv3]] feature) |
| 22 | .isaway - Returns [[$true]] if the user is away, otherwise [[$false]]. (AdiIRC only) |
||
| 23 | 1 | Per Amundsen | |
| 24 | *Example* |
||
| 25 | |||
| 26 | <pre> |
||
| 27 | ; Prints number of matches from 'nick' on '#channel'. |
||
| 28 | //echo -ag $ialchan(nick, #, 0) |
||
| 29 | |||
| 30 | ; Prints the first matc from 'nick' on '#channel'. |
||
| 31 | //echo -ag $ialchan(nick, #, 1) |
||
| 32 | </pre> |
||
| 33 | |||
| 34 |