Your code's interesting. Currently, I can not test my code, so I need hint (or rather all of which are related with spectator and interactions spectators with normal players ).
I remember that in War3ft was a small bug which was allowed to play as spec.
Probably It was revived with some kind of these items and admin changed player team to spec. In DeathMSG was shown a grey player name which was killed other teams