[z1841] Use the same variable to store the message for AFK and DND

Also make code in this area easier to read

Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>

(based on commit 6c01a2a)

(cleaned version of 14245de)

(based on commit [s1400] - 11851b7)