aura_env.findAura = function(LFname) for i = 1, 40 do local name = UnitAura("player", i) if (name == LFname) then return i end end end