since I cannot find a way to set a players team when clicking a brick, I'm putting this here, fairly simple,
on activate>player>setPlayerTeam>(numbered list of the available teams in TDM), I would like to use this to make a TDM in which all but one player are on a certain team, the excluded player becomes the hunter, while the rest must hide from him, or you could use it as a sort of boss minigame where the excluded player is extremely tough and everybody must fight him with the weapons they got