Returning the users with the most comchans.

Anybody think they can make a while loop for listing the users from the most comchans to the least (let's just say, down to 3 comchans)?

And perhaps on a local and global scale. Local is a bit unnecessary though.

For global, just scan it by nick. I.e., I have an alias that returns all the global comchans by nick, but it would be nice if someone could make an alias to /echo a list of who has the most comchans in all your channels globally down to persay, 3 or 2 comchans (since listing 1 comchan would be virtually your entire IAL).

An output like..

NickX - 8 comchans with you.
Nick2 - 6 comchans with you.
Etc.

And then, ties would be, well, in random or alphabetical order.

;/