What /testfor command do I need to check the value of a scoreboard

What /testfor command do I need to check the value of a scoreboard - Young troubled woman using laptop at home

I've created a dummy objective, 'time' and have a 1 second repeater clock adding 1 to the score for @a every second. I then have a command block that will execute a /testfor to check when the score '600' is met and a comparator will light up a redstone lamp to say when 10mins has passed. What command would the /testfor command block need?



Best Answer

This command should be what you want:

/testfor @a[score_time_min=600]

This will only give a weak output, so make sure to have a repeater after the comparator.




Pictures about "What /testfor command do I need to check the value of a scoreboard"

What /testfor command do I need to check the value of a scoreboard - Serious ethnic young woman using laptop at home
What /testfor command do I need to check the value of a scoreboard - Multiethnic businesswomen checking information in documents
What /testfor command do I need to check the value of a scoreboard - Blackboard with YOUR LIFE MATTERS inscription on black background



How do you check your scoreboard score in Minecraft?

You can manage objectives, players and teams using the /scoreboard command in Minecraft.



How to detect a Scoreboard score [TUTORIAL] | Minecraft Bedrock Edition




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

Images: Andrea Piacquadio, Andrea Piacquadio, Alexander Suhorucov, Brett Sayles