Added chat commands and appropriate actions. Draft version, not tested.