I did a search and found this threat. I have kind of the same problem.. i have this:
on me:*:JOIN:#: {
var %i = 1
while (%i <= $nick(#,0)) {
.msg Zyzzyx26 7- $nick(#,%i).pnick
inc %i
}
}
This is for my bot.. i want that whenever it joins a channel he /msgs me telling the users on it. The code seems fine to me, but the
$nick(#,0) is being set as
1, no matter how many users the channel actually has!
I tryed typing
//echo $nick(#,0) and it returned the correct number of users, but when the bot joins it only returns 1.
(i've also tried the script in a new .mrc file, but nothing..)
Please help

Thanks,
Zyzzy.