As others have said it would be easier than doing it all in one but if you do go that route of wanting an all in one you would end up with 8 triggers and using custom trigger logic and custom colour code
Trigger Logic:
Code:
function(t)
return (t[1] and t[2] and t[3] and t[4]) or (t[5] and t[6] and t[7] and t[8])
end
Custom animation you would do the same slightly doing
Animation - Main - Colour - Custom Function
Code:
function(p,r,g,b,a)
local t = WeakAuras.triggerState[aura_env.id].triggers
if (t[1] and t[2] and t[3] and t[4]) then
r,g,b = 1,0,0
else
r,g,b = 0,1,0
end
return r,g,b,1
end
Dry code so not tested but should work hopefully