How do i detect if a dummy command has a certain score in 1.9?
I have been trying to figure out recently how to test if a team and or player has a certain score like 3 or 5 or something. If someone could tell me how that would be great!
Best Answer
I found a question on minecraft forums very similar to yours, so i have left a link to it and here is one of the best answers i found
use a testfor, something like this /testfor @a[score_TIMER_min=100]
This will need to be in the commandblock and an output of a comparator. Last you will need a clock to keep it checking when this statement is true.
So the code checks when @a, anyone, has a minimum timer score of 100. If the requirement is meet, then the command block will output a redstone signal strength of 1 through the comparator.
Pictures about "How do i detect if a dummy command has a certain score in 1.9?"



How do you test a score in Minecraft?
Scoreboard Command/execute if score // Minecraft 1.19 Command Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Ahmed Yusuf, Andrea Piacquadio, Engin Akyurt, Mike
