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