@poltercreeper, I am trying to use scoreboard objective values as arguments for other commands. I am looking for a way to return the scoreboard value in a way that could be used as such.
For example, I would make a scoreboard value:
/scoreboard players set a@ test 1
which would set the value of "test" for all players to 1.
Then, I want to be able to use that value not to get certain players or to check whether a player has that value, but instead use it as a variable to be used as an argument.
For example:
/tp a@ <something to return the value of test> 1 1
Which would teleport all players to a location with an x-coordinate of "test", and a y- and z-coordinate of 1.
@Stette
"test" would only have one value, as I would be setting it to all players. I could, however, change it using commands.
Once again, thank you for trying to answer my question.