No need for variables there.

Code:
menu channel {
  Away
  .Away:{
    away $$?="Reason:"
    me is away. Reason: $awaymsg
  }
  .Back:{
    if ($away) {
      me is back from: $awaymsg
      away
    }
  }
}