Function

See also: Items

See also: GetItem

usage:

m_context.ItemCount("full.item.id") ItemCount("full.item.id")

examples:

echo m_context.ItemCount("player.candy.corn.2013")

will output how many of the 50% food buffs you have that came with the Halloween 2013 promo.

item = "player.box.gambling.3"

if ItemCount(item) execute "useitem {item}"
if ItemCount(item) repeat

will use all of your amulets


CategoryFunctions

ItemCount (last edited 2015-08-10 00:33:58 by LKD70)