Galvanar 0 Posted October 30, 2017 Share Posted October 30, 2017 Hello everybody, im new here and im trying to convert my LUA Fightclasses in the right way to make it work with the Bot Core. function isFrencyStack5() luacode = "francymax = 0; for i=1,40 do local _,_,_,c,_,_,_,_,_,_,s = UnitAura('player',i); if s==19615 and c==5 then francymax = 1 break end end" if tonumber(WowLuaDoLocalizedString(luacode, 'francymax'))==1 then return true else return false end end How do you guys inject that string code and get a retval to get that function to work? Greez Galvanar Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now