If the network supports away-notify (it can be found in the "Caps supported:" line in your server/status window when connecting to a network) you could get the away message.

It will only work if they set /away while in the same channel(s) with you or they join a channel you are in while they are /away.

Code:
raw AWAY:*:{
  if ($1 != $null) { 
    echo -ag Nick: $nick
    echo -ag Away Message: $1-
  }
  else { echo -ag $nick is no longer away. } 
}


Quote:

<- :wat!wat@127.0.0.1 PRIVMSG #foo :mIRC RULES!
<- :wat!wat@127.0.0.1 AWAY :I AM AWAY!

Quote:

Nick: wat
Away Message: I AM AWAY!


Quote:

15/04/2017 - mIRC v7.48
...
18.Added CAP support for away-notify. This is automatically enabled if
available and makes the server send AWAY events to the client
indicating the away state of users on the same channels as you. AWAY
events are not shown but are used to set $ial().away. They trigger as
RAW events.



https://ircv3.net/specs/extensions/away-notify-3.1.html