Stuff for RPG

rpgbot and beforeLogOut events.