I get no errors but it's not teleporting anyone to {sumopos1} or {sumopos2}.
Code:
command /sumostart:
permission: sumo.use
trigger:
set {sumo.start} to true
broadcast "&a&lA Sumo event is starting soon! Type /event join Sumo to join!"
wait 100 ticks
teleport a random player out of {sumos} to {sumopos1}
teleport a random player out of {sumos} to {sumopos2}
command /sumoend:
permission: sumo.use
trigger:
set {sumo.start} to false
broadcast "&c&lThe Sumo event has ended!"
loop all players:
{sumo::%loop-player%} is true:
execute loop-player command "/spawn"
set {sumo::%loop-player%} to false
command /sumopos1:
permission: sumo.use
trigger:
set {sumopos1} to location of player
command /sumopos2:
permission: sumo.use
trigger:
set {sumopos2} to location of player
command /sumospec:
permission: sumo.use
trigger:
set {sumospec} to location of player
command /event join [<text>]:
trigger:
if arg-1 is "sumo":
if {sumo.start} is true:
teleport player to {sumospec}
send "&a&lJoined the Sumo event!"
set {sumo::%player%} to true
add player to {sumos}
else:
send "&cThere isn't a Sumo event active!"