Skip to content

FindItemCount

A TLO used to find a count of items on your character, corpse, or a merchant by partial or exact name match. See examples below.

Forms

item FindItemCount[name/id]

Counts the items using the given item id, or partial name match. Will search character inventory and any items stored in key rings (illusion, mount, etc).

Example

Echos the number of items in your inventory with the name swirling in it.

/echo ${FindItemCount[swirling]}
print(mq.TLO.FindItemCount("swirling"))
item FindItemCount[=name]

Counts the items using exact name match (case insensitive). Will search character inventory and any items stored in key rings (illusion, mount, etc).

Example

Echoes the number of Water Flasks you have in your inventory.

/echo ${FindItemCount[=Water Flask]}
print(mq.TLO.FindItemCount("=Water Flask"))