• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Hax.Lua

    Discussion in 'Honorbuddy Support' started by tubajedimr, Jan 14, 2011.

    1. tubajedimr

      tubajedimr New Member

      Joined:
      Apr 6, 2010
      Messages:
      441
      Likes Received:
      24
      Trophy Points:
      0
      Well, I thought everything was going swimmingly with the new macro I was going to try, but it didnt go so well.

      WoW returned this error:

      Date: 2011-01-14 18:03:22
      ID: 1
      Error occured in: Global
      Count: 1
      Message: [string "hax.lua"] line 1:
      ')' expected near 'Shiny'
      Debug:
      [C]: ?


      ___________________________________

      Here's the code I'm using with the RunMacro.CS

      PHP:
      <CustomBehavior File="RunMacro" Macro="/script local function buy (n,q) for i=1,100 do if n==GetMerchantItemInfo(i) then BuyMerchantItem(i,q) end end end buy (&quot;Shiny Red Apple&quot;,100); " NumOfTimes="1" WaitTime="2000" />
      Using it inside of a blank profile to test out the Macro, but as stated, is producing the LUA error.

      Anyone familiar with this and might know the cause?
       
      Last edited: Jan 14, 2011

    Share This Page