mIRC Homepage
Posted By: MasamuneXGP Getting the number of users - 30/09/03 11:29 PM
I'm trying to write a script that will take the number of users in a certain channel and log them to a file. 1) how would I do that and 2) is it possible to do that without actually being in the channel? Connected to the server of course, but e.g., manipulating /list somehow?
Posted By: MageOfChrisz Re: Getting the number of users - 01/10/03 12:50 AM
You could manipulate /who for being in a channel you are not in,

/help $nick

Thats for being in a chan

erm.. raw events = /who


raw 352 = listing in who
raw 314 = end of /who
Posted By: Collective Re: Getting the number of users - 01/10/03 01:00 AM
If you're going to use that method remember that almost* every server doesn't list users set +i if they're not in the same channel as you.

*Disclaimer for "well irc.x.com does.." type replies
Posted By: MasamuneXGP Re: Getting the number of users - 01/10/03 02:25 AM
No, that's what I'm looking for... If I could just script it so it would automatically do /list, then save the results to a file, I could just parse out the number myself. Can that be done?
Posted By: Iori Re: Getting the number of users - 01/10/03 06:35 AM
Well you could use a #group and "/list #channel" and write the results from raw 322, but the channels list window will always open, though you can hide it when you recieve raw 321 and close it on raw 323.
© mIRC Discussion Forums