TLO:FindItemCount

From the wonderful RedGuides Wiki

Find number of items by item name or ID

This TLO is added by MacroQuest

Forms

Type Member Description
int FindItemCount[#|name] Find items by item ID or name. Partial name accepted, use =name for exact match.

Access to Types

Type Description
int Data related to integers

Examples

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

/echo ${FindItemCount[=Water Flask]}

  • Echoes the number of an item as defined by a string. Note the placement of the quotes, it is important.

/echo ${FindItemCount["=${SomeItem}"]}

See also