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 ("Shiny Red Apple",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?