Yep, It should set $away to $false before triggering the event, and unset $awaymsg and $awaytime afterwards.