Such things have been suggested before, however, mIRC cannot detect if a user is away without /whoising everyone continuously, or constantly /whoing channels you're in (and given the vast majority of IRC users which use mIRC, this is unacceptable for both the client and server).

On the off chance that you're just trying to detect if YOU are set /away, there is $away.

Regards,