for (int i = 0; i < 100; i++)
{
wManager.Wow.Helpers.Lua.RunMacroText("/run if atbmi==nil then atbmi=1 end atbni=GetInboxNumItems() if atbmi>atbni then atbmi=1 end atbit=GetInboxInvoiceInfo(atbmi) if atbit=="seller_temp_invoice" then GetInboxText(atbmi); DeleteInboxItem(atbmi) else atbmi=atbmi+1 end");
wManager.Wow.Helpers.Lua.RunMacroText("/run if atbmi==nil then atbmi=1 end atbni=GetInboxNumItems() if atbmi>atbni then atbmi=1 end atbit=GetInboxInvoiceInfo(atbmi) if atbit=="seller_temp_invoice" then GetInboxText(atbmi); DeleteInboxItem(atbmi) else atbmi=atbmi+1 end");
Thread.Sleep(100);
}
Ok so i got the one you helped me with, now im trying to add this in, but i realize now it is in the RunMacroLua section, ive tried changing wManager.Wow.Helpers.Lua.RunMacroText to
wManager.Wow.Helpers.Lua.RunMacroLua. Unfortunately it doesnt work, i looked in Visual Studio and all i can find is wManager.Wow.Class.QuestAction.RunMacroLua, but it keeps giving me a error that it cannot find it, is there another way i can use this RunMacroLua with the loop?