Skip to content

bank

This is the type for your bank (not including shared bank or other bank features).

Members

int BagSlots

How many bag slots (base slots for bags/items) your bank has.

int FreeSlots

How many free (empty) slots your bank has. This includes slots where you have a bag and the bag has empty slots. It accepts an index specifying one of the case insensitive bag sizes (tiny, small, medium, large, giant) or the corresponding number (0, 1, 2, 3, 4). An invalid string specifying size will return NULL. Specifying a numeric value less than 0 will use 0 and a value greater than 4 will use 4.

int TotalSlots

How many total slots your bank has. This includes slots where you have a bag and the bag has items in. It accepts an index specifying one of the bag sizes or the corresponding number (see FreeSlots for a longer explanation).

int Platinum

How much platinum you have in your bank.

int Gold

How much gold you have in your bank.

int Silver

How much silver you have in your bank.

int Copper

How much copper you have in your bank.

Examples

Example

How many giant items can I add to my bank?

/echo ${Inventory.Bank.FreeSlots[giant]}
or

/echo ${Inventory.Bank.FreeSlots[4]}

How many total slots are there in my bank?

/echo ${Inventory.Bank.TotalSlots}

How many large slots are there in my bank (used and unused)?

/echo ${Inventory.Bank.TotalSlots[large]}
or

/echo ${Inventory.Bank.TotalSlots[3]}

How many giant items can I add to my bank?

print(mq.TLO.Inventory.Bank.FreeSlots('giant')())
or

print(mq.TLO.Inventory.Bank.FreeSlots(4)())

How many total slots are there in my bank?

print(mq.TLO.Inventory.Bank.TotalSlots())

How many large slots are there in my bank (used and unused)?

print(mq.TLO.Inventory.Bank.TotalSlots('large')())
or

print(mq.TLO.Inventory.Bank.TotalSlots(3)())