hello, i dont know what's wrong with this code, but not show reason when i leave room"away" when i turn back i see reason but when i leave not. any idea
thanks in advance.
menu channel { - $iif($away,$style(1)) Away .$iif($away,Set Back,Set Away):{ if ($away) { ame is back from: $+ $awaymsg $+ . I was gone for: $+ $duration($awaytime) $+ | away } | else { away $$input(Enter reason,129,Set Away) | ame is leaving. reason: $+ $awaymsg $+ } } }