April 9, 20188 yr Hi there, I am building a TBC quest profile. In this Profile I learn in OG skinning and by luck directly next to the trainer is the vendor "Tamar" for my skinning knife. I already have the bot open the vendor and there I am.... I am playing TBC <QuestsSorted Action="RunMacroLua" NameClass="/tar Tamar" /> <QuestsSorted Action="RunLuaCode" NameClass="RunBinding("INTERACTTARGET") " /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunLuaCode" NameClass="local itemName = "Skinning Knife"
local quantity = 1
for i=1,GetMerchantNumItems() do
 local n=GetMerchantItemInfo(i) print(n)
 if n then
 if n == itemName then 
 BuyMerchantItem(i, quantity)
 end
 end
end" /> <QuestsSorted Action="Wait" NameClass="1000" /> <QuestsSorted Action="RunLuaCode" NameClass="CloseMerchant() 
ClearTarget() " /> <QuestsSorted Action="Wait" NameClass="60000" /> <QuestsSorted Action="GoToStep" NameClass="0" /> <QuestsSorted Action="EndIf" NameClass="" />
April 9, 20188 yr Lua.LuaDoString("BuyMerchantItem(16,1)"); 16 item numer in the vendor menu and 1 is how many items you want use it with runecode
Create an account or sign in to comment