This site makes extensive use of JavaScript.
Please enable JavaScript in your browser.
Live
PTR
10.2.5
PTR
10.2.6
Buying macro
Return to board index
Post by
typhonis
Is there a way to automatically buy a number of items for a specific NPC?
I am a rogue and it gets rather tedious to purchase items individually. I would rather have a macro that will buy the items (for poisons, in this case) with a few clicks.
Please advise
Post by
106545
This post was from a user who has deleted their account.
Post by
typhonis
Hold Shift and right click the item you wish to buy; a box will pop up where you can define how many you wish to buy. no AddOn nec! :)
That is not what I meant. Being a rogue, I need to buy a number of items for the vendor.
Something like:
/buy 20 flash powder
/buy 20 cystral vails.
you get the idea?
Post by
106545
This post was from a user who has deleted their account.
Post by
Null
If you're willing to use an addon, BuyDropper is an excellent addon that will automatically restock specified items (to a specified quantity) any time you visit any vendor that carries them.
http://www.wowinterface.com/downloads/info5280-BuyDropper.html
Post by
typhonis
If you're willing to use an addon, BuyDropper is an excellent addon that will automatically restock specified items (to a specified quantity) any time you visit any vendor that carries them.
http://www.wowinterface.com/downloads/info5280-BuyDropper.html
I would prefer not to use an addon.
Since there is an addon, there must be macro's for simple purchases. I simply need the first few lines.
Is it /purhcase or /buy. I guess I will try it in game when I get on.
Post by
HighFive
/run BuyMerchantItem(index )
Now all you need is wait for
shoggy
to check this thread and post a script that will use a
for
loop to check the items' name and buy if it matches "Flash Powder".
Post by
56282
This post was from a user who has deleted their account.
Post by
typhonis
Much appreciated Shoggy.
Post by
56282
This post was from a user who has deleted their account.
Post by
91244
This post was from a user who has deleted their account.
Post by
56282
This post was from a user who has deleted their account.
Post by
LavingRunatic
Every vendor's inventory has numbers associated with each item. To buy multiples with a macro, you need to know the item's number.
Use this macro to find an item's number once you open a vendor's sale window.
:
*KEEP IN MIND AN ITEM'S NUMBER IS DIFFERENT AT EACH VENDOR!*
/script for i = 1, GetMerchantNumItems() do print(i, GetMerchantItemInfo(i)) end
The number will appear to the right of the item's name. Once you have the item's number, you can use a macro to purchase a certain number of that item.
As of today (patch 8.3 6/14/2020) you can even use the macro to purchase a specific number of items regardless of its stack size.
For example, you can buy 51 wild flour even though it comes in stacks of 10, by simply putting 51 for the amount in the macro below.
Use this macro to buy a number of the vendor's sale window
:
/script BuyMerchantItem(put the item's number here - can be obtained using above macro, put the amount of the item you want here)
*TIPS:
You can add multiple lines to the macro if you want to buy several different items at the same time - just enter a line for each item using its respective number and the amount of the item you'd like to buy
EX - the following macro buys 100 Fresh Potato & 100 Foosaka at the same time from the Brutosaur:
/script BuyMerchantItem(19, 100)
/script BuyMerchantItem(18, 100)
If you want to easily choose the icon & see how many of the item you have in your bag, just add #showtooltip to the beginning of the macro.
EX - the following macro buys 200 Nylon Thread from the Brutosaur & shows how many are in your bags:
#showtooltip Nylon Thread
/script BuyMerchantItem(27, 200)
(##RESPBREAK##)6408##DELIM##CalaelenDT##DELIM##In the future, please be mindful of the date of the thread. In this case, the last comment before you responded dates back 12 years.
Post Reply
This topic is locked. You cannot post a reply.