mojira.dev
MC-63997

Score_(name) argument corrupts command

So when I use the command it works but when I add that it does nothing

Comments 18

you need a score for that or higher, just so you know

@FVBico please explain and @[Mod] Kumasasa tellraw @a[x=0,y=1,z=-1,score_Wins=0 (but this happens with any score number) {"text":"(TEXT)","color":"red"}

you forgot to close the selector
you have:
@a[x=0,y=1,z=-1,score_Wins=0
must be
@a[x=0,y=1,z=-1,score_Wins=0]

explenation:
you need a score for the Wins objective of 0 or higher

ill check but i typed that fromm scratch

8 more comments

what command did you use for the scoreboard objective and score?

Wins and i have 0 points

Oh its working! thats weird

I did this in the command block:

tellraw @a[x=0,y=1,z=-1,score_Wins=0] {"text":"Sorry, you are not permitted to this area until you win at least one ticket. Come back when you have one!","color":"red"}
tellraw @a[x=0,y=1,z=-1,score_Wins=0] {"text":"Sorry, you are not permitted to this area until you win at least one ticket. Come back when you have one!","color":"red"}

used these commands:

scoreboard objectives add Wins dummy
scoreboard player set FVbico Wins 1
scoreboard objectives add Wins dummy
scoreboard player set FVbico Wins 1

and it worked fine

Its working now. thanks for the help FVbico

aidan pallian

(Unassigned)

Unconfirmed

Minecraft 14w30c

Retrieved