when I do /join to join in the arena with most players
{sg.arena.%text arg 2%.playing} = player count.
Thanks.
code_language.skript:
command /test:
trigger:
loop {sg.arenas::*}:
if {sg.arena.%loop-value%.status} is "{@waiting}" or "{@starting}":
send "&7Arena founded!"
make player execute the command "/sg join %loop-value%"
stop loop
stop
{sg.arena.%text arg 2%.playing} = player count.
Thanks.