random offset to value
Hi all, i have a tp command that uses macros:
Continue to help post$tp @p[tag=this] $(x) $(y) $(z)
I was hoping to add a random value between 3 and -3 to the x and z values so as to create a random offset. That way if multiple players teleport using it they dont all show up in the same spot.
I was thinking of doing something like like getting a random value in storage with:
execute store result storage test:test test int 1 run random value -3..3
but im unsure how to actually add the values to the macro values. any help greatly appreciated!!