Are you sure you want to report this?

A feedback area designed for scripting and mods suggestions and feedback. Please note bug reports and support issues will be removed.


Use scoreboards in other commands


Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    lyawings29 commented
    Comment actions Permalink

    Hi, i also need exactly this feature... 

    I want to tp a Player to coordinates written to scoreboard. The writing part is simple, but to read it from the scoreboard is missing...

    Write to scoreboard (what i already got):

    /execute store result score @p posX run data get entity @p Pos[0]

    and something like this is missing:

    /tp @p {"name":"@p","objective":"posX"}

    I hope this comment adds some detail how the command could look like. Thanks

  • 0
    Luggibumm commented
    Comment actions Permalink

    @Iyawings29 you can already do this https://m.youtube.com/watch?feature=youtu.be&v=ytyg7egKm-o

    But still it would be amazing to use this in commands without these tricks and in setblock, fill, tp,...