I'm trying to make a command for "/revive" that revives the player and adds them to an alivelist, its meant to set "{alive::%player%}" to true, but how can i stop it from showing an extra number on the scoreboard for alive players?
code below
code below
Code:
command /revive <player>:
permission: lemoncore.host
trigger:
if {alive::%arg-1%} is true:
send "%{@prefix}% %{@color2}%%arg-1% %{@color1}%is already alive." to player
play sound {ErrorSound} at volume 3 and pitch 1 to player
stop
else:
set {alive::%arg-1%} to true
teleport arg-1 to player
add arg-1 to {alive::*}
remove arg-1 from {dead::*}
send " %{@prefix}% %{@color2}%%arg-1% %{@color1}%has been revived by %player%. " to all players
play sound {sound1} at volume 1 and pitch 1 to player
set {status::%player%} to true