So, I managed to set up a command block contraption that sends a command if a score is a value, but for the life of my can't figure out how to make it do that only if two scores are equal.
Doing @a[scores={Died=1,Hunter=1}] doesn't work, it's only one score or the other can be in the curly brackets. What am I doing wrong? I want the command to execute if Hunter and Died are both 1. Thanks in advance for any response, or even just reading.
If anyone's curious, the command is give @a[scores={Died=1}] compass 1. This works correctly for just the 'Died' scoreboard value. Adding the above 'Hunter=1' variable doesn't work, I can only allow one.
EDIT Solved!
I thought a score not being there would count as 0, but it didn't, I'm very sorry for the pointless post, but I'll leave this here, as future people might want to be aware about this for anyone new to scoreboard trickery like myself.
So, I managed to set up a command block contraption that sends a command if a score is a value, but for the life of my can't figure out how to make it do that only if two scores are equal.
Doing @a[scores={Died=1,Hunter=1}] doesn't work, it's only one score or the other can be in the curly brackets. What am I doing wrong? I want the command to execute if Hunter and Died are both 1. Thanks in advance for any response, or even just reading.
If anyone's curious, the command is give @a[scores={Died=1}] compass 1. This works correctly for just the 'Died' scoreboard value. Adding the above 'Hunter=1' variable doesn't work, I can only allow one.
EDIT Solved!
I thought a score not being there would count as 0, but it didn't, I'm very sorry for the pointless post, but I'll leave this here, as future people might want to be aware about this for anyone new to scoreboard trickery like myself.