local mod = Skada:NewModule (L["All Threat"])--(L["Threat"])
My completely frivolous and pointless question is can I get Skada:Modes to Sort the modes differently rather than alphabetically. I tried this(my code is red):
function Skada:AddMode(mode) --SOME CODE table.sort(modes, function(a, b) return a.name < b.name end) [COLOR="Red"]table.insert(modes, 1, "All Threat")[/COLOR] for i, win in ipairs(windows) do win:Wipe() end
This didn't work because it looks like Skada likes to wipe the current mode list repeatedly and refresh it alphabetically once again. Full Disclosure I know next to nothing about Lua or most programing.
Anyone have an idea?