local function onSlashHandlerMountUpgrade() local oldValue = GetSetting_Bool(SETTING_TYPE_IN_WORLD, IN_WORLD_UI_SETTING_HIDE_MOUNT_STAMINA_UPGRADE) local newValue = "true" if oldValue then newValue = "false" end SetSetting(SETTING_TYPE_IN_WORLD, IN_WORLD_UI_SETTING_HIDE_MOUNT_STAMINA_UPGRADE, newValue) SetSetting(SETTING_TYPE_IN_WORLD, IN_WORLD_UI_SETTING_HIDE_MOUNT_SPEED_UPGRADE, newValue) SetSetting(SETTING_TYPE_IN_WORLD, IN_WORLD_UI_SETTING_HIDE_MOUNT_INVENTORY_UPGRADE, newValue) end SLASH_COMMANDS["/changemountupgrade"] = onSlashHandlerMountUpgrade