/script local function buy (n,q) for i=1,100 do if n==GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy ("Morning Glory Dew",20);
Copy and paste that and make it into a macro.
When you go to the vendor click it, and it will buy however many of the item you put in.
So, in this example you would buy 20 Morning Glory Dews.
NOTE: You can put in only the maximum
This makes it able to one click buy, very simple for all you lazy people out there!