By halting the response from different raws that are reported when a whois is issued, one can control just what information is actually displayed or used for other purposes.
To my knowledge, and I may be incorrect, mIRC gets the idle time from the server, which is the same idle time that you would get using /whois
For more information about RAWS, check
here