mIRC Home    About    Download    Register    News    Help

Print Thread
P
pouncer
pouncer
P
//echo -a $ial(pouncer).addr

would give me my ial

how do i check if a certain ial is present in the channel without looping through the whole channel nicklist?

5
5618
5618
5
You could use:

Code:
if ($ialchan(nick!user@host,$chan,1)) { code }

If the nick!user@host (which allows wildcards) is present on the channel the if-statement will be true, otherwise it will be false.

P
pouncer
pouncer
P
no nickname

i can only check by ial

so this isnt possible?

C
CtrlAltDel
CtrlAltDel
C
Originally Posted By: 5618
You could use:


If the nick!user@host (which allows wildcards) is present on the channel the if-statement will be true, otherwise it will be false.


in other words, $ialchan(*!*user@*,$chan,1) would work without a nick .. wildcards can fill in the blanks (nicks) for you

5
5618
5618
5
like I implied, just use *!*@host or *!user@host

Last edited by 5618; 22/01/08 06:15 PM.

Link Copied to Clipboard