What about multiple nicks and/or afk/idle nicks? I know my nick changes to "Cali|AFK" when i use /away, then it changes back to "California" after /back. I also use the /ns group a lot since i use a different chat client than my bot, and the nicks are grouped together, along with my nick for when I'm using my iPhone.
Currently, I have to manually change the status if I use any nick other than the one set with !owner. It'd be nice if the script could check the group list, and apply the online/offline change for all nicks in the list.