Jump to content

kalleql

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by kalleql

  1. 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(&quot;INTERACTTARGET&quot;) " />
        <QuestsSorted Action="Wait" NameClass="1000" />

        <QuestsSorted Action="RunLuaCode" NameClass="local itemName = &quot;Skinning Knife&quot;&#xD;&#xA;local quantity = 1&#xD;&#xA;for i=1,GetMerchantNumItems() do&#xD;&#xA; local n=GetMerchantItemInfo(i) print(n)&#xD;&#xA;  if n then&#xD;&#xA;   if n == itemName  then &#xD;&#xA;    BuyMerchantItem(i, quantity)&#xD;&#xA;  end&#xD;&#xA; end&#xD;&#xA;end" />
        <QuestsSorted Action="Wait" NameClass="1000" />
        <QuestsSorted Action="RunLuaCode" NameClass="CloseMerchant() &#xD;&#xA;ClearTarget() " />
        <QuestsSorted Action="Wait" NameClass="60000" />
        <QuestsSorted Action="GoToStep" NameClass="0" />
        <QuestsSorted Action="EndIf" NameClass="" />

×
×
  • Create New...