Thread Tools Display Modes
02-18-15, 04:58 PM   #1
r3yn01ds
A Defias Bandit
Join Date: Feb 2015
Posts: 2
Buy Specific Item

Hello there. I would like a macro that will buy for me a specific item.
I dont want "/script BuyMerchantItem(x , {x})" , because the item is not insale hole time, it has cooldown to respawn in vendor. So i would like a /script BuyMerchantItem that works for exact item's name. Thanks.
  Reply With Quote
02-18-15, 06:06 PM   #2
Banknorris
A Chromatic Dragonspawn
 
Banknorris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2014
Posts: 153
Code:
/run MerchantFrame_SetFilter(MerchantFrame,1)for i=1,GetMerchantNumItems()do if GetMerchantItemInfo(i)=="XXXXXXXX"then BuyMerchantItem(i)end end
Replace XXXXXXXX by the name of your item (keep quotes).
  Reply With Quote
02-19-15, 06:13 AM   #3
r3yn01ds
A Defias Bandit
Join Date: Feb 2015
Posts: 2
Thanks

Thanks for respond. It works fine.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Macro Help » Buy Specific Item

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off