Difference between revisions of "$ialchan"
From Scriptwiki
(finally...) |
|||
Line 10: | Line 10: | ||
This example will return ''Dana''. | This example will return ''Dana''. | ||
echo -a $ialchan(*Dana@staff.quakenet.org,#mIRC,1).nick | echo -a $ialchan(*Dana@staff.quakenet.org,#mIRC,1).nick | ||
− | This one wont echo anything (but give an error message), as Dana isn't on #mIRC and so $ialchan(*Dana@staff.quakenet.org,#mIRC,1).nick returns [$null]]. | + | This one wont echo anything (but give an error message), as Dana isn't on #mIRC and so $ialchan(*Dana@staff.quakenet.org,#mIRC,1).nick returns [[$null]]. |
[[Category:IAL]] | [[Category:IAL]] |
Latest revision as of 21:17, 21 November 2005
Returns the Nth address on the specified channel matching nick or mask in the Internal Address List.
$ialchan(nick/mask,#,N)
This identifier is basically the same as the $ial-identifier. The only difference is that it onyl returns matched for specified channels.
Note that N is not optional, contrary to $ial.
Example
echo -a $ialchan(*Dana@staff.quakenet.org,#help.script,1).nick
This example will return Dana.
echo -a $ialchan(*Dana@staff.quakenet.org,#mIRC,1).nick
This one wont echo anything (but give an error message), as Dana isn't on #mIRC and so $ialchan(*Dana@staff.quakenet.org,#mIRC,1).nick returns $null.