I am wondering if there is a syntax that can be changed more simply than the syntax below, and if it exist, I would like to know what syntax can be used as well.
Code:
set {test.%player%} to location(player's x-coordinate,130,player's z-coordinate)
.
.(another syntax)
.
set {test.%player%} to "%{test.%player%}%"
replace "x: " with "" in {test.%player%}
replace "y: " with "" in {test.%player%}
replace "z: " with "" in {test.%player%}
replace "," with "" in {test.%player%}