Config variables and chat commands declared, /d completely implemented