This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hey everybody!
I want to test if the score of something is 1 or not... thats the command but it doesnt work in 1.16
execute if score @s Welt1 = 1 run xyz
You can't use "=" to test with a value, it's just for testing two players score.
Here, you have to use "matches". Your command will be :
execute if score @s Welt1 matches 1 run xyz
I like trains... OF CHAIN COMMAND BLOCKS !
okay but it does not work also if i use unless nothing happens with that command
if you run it in a command block, you have to indicate who is running the command, like this :
execute as [player] if score @s Welt1 matches 1 run xyz
[player] can be a player name or @a, @p, what you want.
Hey everybody!
I want to test if the score of something is 1 or not... thats the command but it doesnt work in 1.16
execute if score @s Welt1 = 1 run xyz
You can't use "=" to test with a value, it's just for testing two players score.
Here, you have to use "matches". Your command will be :
I like trains... OF CHAIN COMMAND BLOCKS !
okay but it does not work also if i use unless nothing happens with that command
if you run it in a command block, you have to indicate who is running the command, like this :
[player] can be a player name or @a, @p, what you want.
I like trains... OF CHAIN COMMAND BLOCKS !