ShopItemID

From Wiki
Revision as of 10:14, 7 September 2007 by Seg (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The #shopItemID system variable determines the item ID of the current line on the shop menu.


Note: To initialize this variable, you need to call getShopInfo.


See Also

Shop

  • The shop system variables allow you to work with NPC vendor gumps through the use of the getShopInfo command.
#shopCurPos Returns the current position on the shop menu
#shopCnt Returns the total number of lines on the shop menu
#shopItemType Returns the item type of the current line on the shop menu
#shopItemID Returns the item ID of the current line on the shop menu
#shopItemName Returns the name of the item the current line on the shop menu
#shopItemPrice Returns the price of the current line in the shop menu
#shopItemMax Returns the number of items in the stack of the current line in the shop menu