From ESOUI Wiki
Returns the number of usable slots that get added to the player's bank every time they 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