Skip to content

GetShopInfo

CommandClientNeeds client
getshopinfo
Sets
#ShopItemID, #ShopItemType, #ShopItemName, #ShopItemPrice, #ShopItemMax, #ShopCurPos, #ShopCnt
uo.dll
GetShop

Also searchable as: GetShopInfo · vendor · buy · shop

getshopinfo reads the entry currently shown at the top of an open shop gump (a vendor’s list of items for sale) and fills the #Shop… variables with it: #ShopItemID, #ShopItemType, #ShopItemName, #ShopItemPrice, #ShopItemMax, #ShopCurPos and #ShopCnt.

The shop gump has to be open, but it does not have to be on top. The variables do not follow the gump: after scrolling to another entry, run getshopinfo again.

; buy as many of the top item as the vendor has
getshopinfo
setshopitem #ShopItemID #ShopItemMax
halt

See also

Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.