Using scoreboard objectives as arguments for commands [duplicate]

Using scoreboard objectives as arguments for commands [duplicate] - Crop hacker silhouette typing on computer keyboard while hacking system

Is there any way to use scoreboard objectives as arguments for commands?

For example, say I have a command block that should teleport a player to a location based on their score.

tp Notch score_Notch_Deaths 0 0

This should teleport Notch to an x-coordinate based on his Deaths score.

If this is possible, what would the actual syntax be?






Pictures about "Using scoreboard objectives as arguments for commands [duplicate]"

Using scoreboard objectives as arguments for commands [duplicate] - Different sizes and forms of scissors
Using scoreboard objectives as arguments for commands [duplicate] - A Person Using a Laptop in an Office
Using scoreboard objectives as arguments for commands [duplicate] - Woman blaming husband in home quarrel





Learn Command Blocks (Ep 1): Scoreboard Objectives




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Anete Lusina, Karolina Grabowska, Cup of Couple, Keira Burton