Currently mIRC loses $away response '$true' when you disconnect/connect to znc.

I am suggesting that mIRC read the '306' and set the '$away' into '$true' when reconnect to ZNC.

Not sure on how to deal with $awaymsg.

ZNC debug log:
Code
[2026-08-25 02:57:21] (KindOne/foobar) CLI -> ZNC [AWAY :I am away]
[2026-08-25 02:57:21] (KindOne/foobar) ZNC -> IRC [AWAY :I am away]
[2026-08-25 02:57:21] (KindOne/foobar) IRC -> ZNC [:kindone.foobar.net 306 KindOne :You have been marked as being away]
[2026-08-25 02:57:21] (KindOne/foobar) ZNC -> CLI [:kindone.foobar.net 306 KindOne :You have been marked as being away]
[2026-08-25 02:57:26] (KindOne/foobar) CLI -> ZNC [QUIT :]
[2026-08-25 02:57:26] USR::KindOne == Disconnected()
// Snip...  mIRC Disconnect/Connect to znc
[2026-08-25 02:57:29] (KindOne/foobar) ZNC -> CLI [:kindone.foobar.net 376 KindOne :End of /MOTD command.]
[2026-08-25 02:57:29] (KindOne/foobar) ZNC -> CLI [:KindOne!KindOne@Clk-35EC1D3E MODE KindOne :+iwx]
[2026-08-25 02:57:29] (KindOne/foobar) ZNC -> CLI [:irc.znc.in 306 KindOne :You have been marked as being away] 
// ^^^ Feature suggestion: Set '$away' as '$true' here in mIRC
// Snip ... CAP REQ / CAP ACK
[2026-08-25 02:57:29] (KindOne/foobar) CLI -> ZNC [PROTOCTL NAMESX]
[2026-08-25 02:57:29] (KindOne/foobar) CLI -> ZNC [PROTOCTL UHNAMES]
[2026-08-25 02:57:33] (KindOne/foobar) CLI -> ZNC [WHOIS KindOne]
[2026-08-25 02:57:33] (KindOne/foobar) ZNC -> IRC [WHOIS KindOne]
// Snip... whois output
[2026-08-25 02:57:33] (KindOne/foobar) IRC -> ZNC [:kindone.foobar.net 301 KindOne KindOne :I am away]
[2026-08-25 02:57:33] (KindOne/foobar) ZNC -> CLI [:kindone.foobar.net 301 KindOne KindOne :I am away]
// Snip... whois output
[2026-08-25 02:57:33] (KindOne/foobar) IRC -> ZNC [:kindone.foobar.net 318 KindOne KindOne :End of /WHOIS list.]
[2026-08-25 02:57:33] (KindOne/foobar) ZNC -> CLI [:kindone.foobar.net 318 KindOne KindOne :End of /WHOIS list.]


How to replicate:
Code
; /whois myself 
raw 301:*:{
  if (($2 == $me) && (!$away)) {
    echo -ag *** This should not echo
  }
} 

1, Connect to znc and have znc connected to a network
2, /away
3, Disconnect from znc
4, Connect to znc and /whois
5, See "*** This should not echo"