From ESOUI Wiki
Returns the maximum number of times the player can upgrade 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