In case any one is wondering why i need this. It's for a small irc client i am working on that needs to handle user ignore. I was going to base this on host mask but now is causing an issue.

When you join a room raw numeric 352 is returned. Names command. This does not hold the host mask. Currently when i need to ignore a user i have to whois them.

Xchat displays a nick ident command and a whois command in it's context menu. Only way i can think of getting users is by sending a who #channel.