Code:
if arg-1 is "join":
if arg-2 is "1":
if {stw.players.1} is not set:
set {stw.players.1} to 1
set {stw.queue.1.%player%} to 1
set {stw.game.1} to true
set {stw::*} to player
teleport player to {stw.lobby.1}
send "{@prefix} &7you joined the queue!&6 %{stw.players.1}%&6/4" to player
how I can make a code that on death of 1 player in {stw::*} set the die player for spectator mode
"{stw::*} is group of 4 players"
MINECRAFT SPIGOT: 1.12
SKRIPT: 2.5-alpha2
Last edited: