Hi, apparently the source is correct and should work after compiled in all channels.
However have a little mistake on "slot checking", it wont work correctly on CW(clan war) bcuz in CW the player just can enter in the firsts 6 slots, so, if am playing in red side it wont kill bcuz even in red-team my slot wont be changed for a value more than 5.
In others word, the teamesp will disable in red-team(CW only)