You don't run both triggers for all the players. Common sense, my boy.
I'm pretty sure he meant, how do the players unally the comp when they keep getting allied.
I'm pretty sure if the alliance status keeps getting set units won't even attack an ally if you tell them to, would have to test that though.