/run C={GetCursorInfo()}if C and (C[1]=="merchant")then BuyMerchantItem(C[2],20)PickupMerchantItem(C[2])end
|
You have to pick a item from merchant's list and use this macro. Then you can buy that item by 20 units.
Of course, you can edit the quantity. You can test by 1 unit.
I used this macro to buy by 1000 units. Like this,
/run C={GetCursorInfo()}if C and (C[1]=="merchant")then BuyMerchantItem(C[2],1000)PickupMerchantItem(C[2])end
|