Problem with vendor item buy macro in TBC client

Hi comrads! Somehow macro for buying certain item from vendor doesn’t work in TBC :c
I’m using it in Shadowlands atm btw)
Here it’s:

/script BuyMerchantItem(item’s index, quantity)

Use this script to find item’s index:

/script for i = 1, GetMerchantNumItems() do print(i, GetMerchantItemInfo(i)) end

It’s pretty useful for crafting…

Use a crafting addon, they put a buying button on the vendor.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.