This away system is meant to be put into a bot and used by users in the same channel. Will read brb with or without a following message. "brb going out". Has !amsg to see another's away message, and users are registered as back from saying anything besides !amsg. The bottom block of coding (noted in snippet) should be the last segment of your bot.
I made this by request from a forum. User friendly Popup menus in: nicklist, channel, and custom window. No commands required. Will autovoice anyone who enters unless their host is in the 'Devoice List'. Also allows person to execute timed mutes, timers are preset and customizable in minutes and hours. Also won't execute in rooms you're not operator. Channel must be moderated to even have 'muting'..