This could be extremely helpful.
But it doesn't just have to be combat either. Add this command so that instead of (off) it shows (afk) or (away) when you want it to say that. I can't tell you how many times I am trying to tell someone in my base something, and 2 minutes later, they are like "Huh? What were you saying? I was afk."