I have been trying to change sign text for a 1v1 game in pvp
I am not sure how to though.
I tried set text of {_sign} to "Axe 1v1. %{axe1v1people1}%/2"
and set line 1 of {_sign} to "Axe 1v1. %{axe1v1people1}%/2"
but it does not work. no errors
full code
command /setaxe1v1sign1:
permissionp
trigger:
if the player's target block is a wall sign:
set {axe1v1signs1} to the player's targeted block
send "You have set Axe 1v1 sign 1!"
set {_sign} to the player's targeted block
set text of {_sign} to "Axe 1v1. %{axe1v1people1}%/2"
else:
send "Hey!, That's not a sign!"
I am not sure how to though.
I tried set text of {_sign} to "Axe 1v1. %{axe1v1people1}%/2"
and set line 1 of {_sign} to "Axe 1v1. %{axe1v1people1}%/2"
but it does not work. no errors
full code
command /setaxe1v1sign1:
permissionp
trigger:
if the player's target block is a wall sign:
set {axe1v1signs1} to the player's targeted block
send "You have set Axe 1v1 sign 1!"
set {_sign} to the player's targeted block
set text of {_sign} to "Axe 1v1. %{axe1v1people1}%/2"
else:
send "Hey!, That's not a sign!"