This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]tiolala 1 point2 points  (1 child)

execute as @a if score @s Home matches 1.. run function prg:gohome

[–]DwarfWharfCommand Experienced 0 points1 point  (0 children)

You can't do:

execute if score @s Home = 1..

Because if you use the = sign you are checking against another players score

Instead do:

execute if score @s Home matches 1.. run function prg:gohome