Using GetShopList() to get string of ShopList
№: 13|ID:|$4074BD4D|type|$0DF0|Color|$0000|Name|black staff|Price|13|Cliloc||Quantity|19
....
№: 79|ID:|$408EBEA7|type|$0DF0|Color|$0000|Name|black staff|Price|13|Cliloc||Quantity|40 <-- this item's quantity should be 1 (that is I sell back to the vendor)
Also, if the shop have more than 1 item with same type and color like above. You may buy more item that you set in AutoBuy(type,color,quantity)
In above case, if you AutoBuy(0x0DF0, 0x0000, 1) , you will buy 2 items.