0

Just simply question... How do I check if player has a scoreboard point and if he have any, execute a command. Basically how to translate into command blocks something like this:

scoreboard_check():
    if @p has (x=! 0) in "scb":
        return (other_command() @p)
    else:
        return (yet_another_command()@p)
SuperStormer
  • 4,997
  • 5
  • 25
  • 35

1 Answers1

0

You can add [scores={ObjectiveName=min..max}] to a target to check for a score (could have just read on the minecraft wiki about scoreboard and execute)

PerryPeak
  • 3
  • 3