Hello, I wish there was one more option for destination selector shortcuts. We currently have five that are: @p, @r, @a, @e and @s.
I would like when the "Need Redstone" option of the command block is active, create a sixth shortcuts of the target selector, which is 'player who clicked the button / lever' or 'the player who activated the command block'.
Example:
let's assume that "@l" represents the sixth option that was mentioned above, so the command would be "/ give @l diamond 1", let's also assume that I closed the command block and put a button close, so, if I clicked the button, the diamond item would go to my inventory, if another player clicked, the diamond item would go to the other player.
Note: it all started when I was creating a store system, which a diamond pickaxe cost a certain price. When the player got the money (scoreboard money) he could buy the diamond pick. However, if there was a closer player (@p) and he clicked the button, the pick would accidentally go to another player, even if he didn't have the necessary money.
I am aware that there are ways to avoid this problem, but it would be less complex if that option existed. Thank you in advance.
Please sign in to leave a comment.
1 Comments