When the map is one of the MvM or AvA(I dont know of any, but this will work on them) maps, the teams will glow the color they are on the scoreboard.
v0.2 - Added building glowing, fixed person glow problems
v0.11 - Removed the map-specific code, replaced with code to get # of Comm Chairs/Hives
All that in 34 lines of code ;)