Added AFK support?

Haven't tested but looks like it may work.