I made a tellraw command with an objective that detects the score of how much lskills you have (lskills is the objective)
This is the command:
/tellraw @a[score_py1not_min=1,score_not_min=1,score_py1d_min=1] ["",{"text":"Quest Notification","color":"dark_purple","bold":"true"},{"text":">","color":"dark_aqua","bold":"false"},{"text":" You have killed ","color":"gold","bold":"true"},{"score":{"name":"@a[score_py1not_min=1]","objective":"lskill"},"color":"dark_blue","bold":"true"},{"text":"/40","color":"dark_blue","bold":"true"},{"text":" Living Stars (Lvl 10).","color":"dark_green","bold":"true"}]
The part in the red is where the problem is; When there is more then one person with the py1not objective, it says
[16:18:29] That entity cannot be found
I did some troubleshooting, and i realized it was because if there are 2 people, it is doing the tellraw objective to both of them, and since they both have the same objective, it says that entity cannot be found because it is trying to tellraw the score of both of the people but i can't do that unless i specify the name (which i don't want because then i would have to make seperate commands each with a different name).
Its not something that i absolutely need or else my map dosen't work, but it would still be good to add (its a quest notification if you look in the command)
If anybody could help me with this, that would be very helpful
I made a tellraw command with an objective that detects the score of how much lskills you have (lskills is the objective)
This is the command:
/tellraw @a[score_py1not_min=1,score_not_min=1,score_py1d_min=1] ["",{"text":"Quest Notification","color":"dark_purple","bold":"true"},{"text":">","color":"dark_aqua","bold":"false"},{"text":" You have killed ","color":"gold","bold":"true"},{"score":{"name":"@a[score_py1not_min=1]","objective":"lskill"},"color":"dark_blue","bold":"true"},{"text":"/40","color":"dark_blue","bold":"true"},{"text":" Living Stars (Lvl 10).","color":"dark_green","bold":"true"}]
The part in the red is where the problem is; When there is more then one person with the py1not objective, it says
[16:18:29] That entity cannot be found
I did some troubleshooting, and i realized it was because if there are 2 people, it is doing the tellraw objective to both of them, and since they both have the same objective, it says that entity cannot be found because it is trying to tellraw the score of both of the people but i can't do that unless i specify the name (which i don't want because then i would have to make seperate commands each with a different name).
Its not something that i absolutely need or else my map dosen't work, but it would still be good to add (its a quest notification if you look in the command)
If anybody could help me with this, that would be very helpful
Thanks!
Thanks! It works now