I am trying to sort all players in a list into 2 teams, hiders and seekers. It isnt showing any errors, and seems to be "working" but doesnt sort the players into the teams, only makes them seek. Help would be appriciated, thanks, Jimsk.
Code:
command /start:
trigger:
loop all players:
set {player::*} to loop-player
set {seaker::*} to a random element out of {player::*}
remove {seaker::*} from {player::*}
wait 1 tick
set {hider::*} to {player::*}
broadcast "%{seaker::*}%"
broadcast "%{hider::*}%"