Cela fait longtemps que j'ai pas skripté mais je pense que je peux encore t'aider :
J'ai un peu modifié pour qu'il soit plus général, je ne suis pas sûr que cela fonctionne mais j'aurais essayé
# Méthode plus général
command /setspawnpointuhc [<int>]:
trigger:
if player is op:
if arg-1 is set:
set {pointuhc::%arg-1%} to location of player
send "{@prefix} &7Vous avez fixé le point de l'arène : &6%arg-1%"
#Expression Random Tp Méthode
set {_length} to length of {pointuhc::%arg-1%}
set {_randominteger} to a random integer between 1 and {_length}
teleport player to {pointuhc::%{_randominteger}%}
Cordialement, Elkios_