I want to believe that "have a good night" is not a command but an incantation and a directive to the world around the person you're addressing.