Project

General

Profile

$ialchan » History » Version 3

Per Amundsen, 10/16/2015 11:17 AM

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
.pnick - Returns the channelnick .(includes prefix)
16
.nick - Returns the nick.
17
.user - Returns the realname/fullname.
18
.account - Returns the account name. (AdiIRC only, [[IRCv3]] feature)
19
.host - Returns the hostname.
20
.addr - Returns the address in ident@host format.
21 3 Per Amundsen
.mark - The user [[/ialmark|mark]].
22 1 Per Amundsen
23
*Example*
24
25
<pre>
26
; Prints number of matches from 'nick' on '#channel'.
27
//echo -ag $ialchan(nick, #, 0)
28
29
; Prints the first matc from 'nick' on '#channel'.
30
//echo -ag $ialchan(nick, #, 1)
31
</pre>
32
33