From ESOUI Wiki
Returns the number of times the player has upgraded their inventory capacity.
local upgrades = GetCurrentBackpackUpgrade() local max = GetMaxBackpackUpgrade() if upgrades < max then local slotsPerUpgrade = GetNumBackpackSlotsPerUpgrade() local remainingUpgrades = max - upgrades local remainingSlots = slotsPerUpgrade * remainingUpgrades -- d("Keep upgrading your backpack, and you'll be able to hold " .. remainingSlots .. " more items!") else d("You've fully upgraded your backpack!") end