⇤ ← Revision 1 as of 2013-11-02 01:31:57
Size: 420
Comment:
|
Size: 443
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 12: | Line 12: |
Line 19: | Line 20: |
Line 22: | Line 21: |
---- CategoryFunctions |
Function
usage:
m_context.ItemCount("full.item.name")
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 promo.
item = "player.box.gambling.3" if m_context.ItemCount(item) execute "useitem "+item if m_context.ItemCount(item) repeat
will use all of your amulets