Guys can you help me please to get this spawn work only while no raidgroup?
Lua Code:
if cfg.units[frame].show then
oUF:RegisterStyle('oUF_Lumen:'..frame:gsub("^%l", string.upper), createStyle)
oUF:SetActiveStyle('oUF_Lumen:'..frame:gsub("^%l", string.upper))
oUF:Spawn(frame, "oUF_Lumen"..frame:gsub("^%l", string.upper))
end