Code consultation event dates announced for Scotland