Added messages command

Added handling of AFK messages by commands.