#(vyrussgg) Get scoreboard value or apply flag with mob

23 messages · Page 1 of 1 (latest)

hexed acorn
#

Hello,

So having a bit of a pickle. I am needing a way to execute a string of commands based on a score a player has. Is there a way I can make an -if for scoreboards? I only see adding and removing in the meta data.

NOTE: I would much prefer to use flags, but I am using a MythicMob to add 1 to the players score and havn't been successful in the past in getting mythic mobs to add flags to players. If there is a way to do this instead of using scoreboards that would be preferred.

soft yarrowBOT
#

(vyrussgg) Get scoreboard value or apply flag with mob

soft yarrowBOT
#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.

pastel token
#

!t server.scoreboard.objective.score

wraith sageBOT
pastel token
#

are you looking for this tag?

hexed acorn
#

Ahh, didn't see that could be swapped as playertag

#

So I'm still really bad at reading placeholders, so if I had a scoreboard called Allays and needed a score of 1, what might that look like?

#

Sorry, I get really confused with the [(< parts

pastel token
#

well you also need an objective

#

<> means your own input here

#

(<>) means optional

hexed acorn
#

Okay gotcha

#

Ohhhh thats good to know

#

So I don't have a scoreboard, just an objective, so would I just entirely skip the scoreboard[(<board>)] part?

pastel token
#

you need the scoreboard part

#

ie server.scoreboard.objective[bloop]

hexed acorn
#

Gotcha, think I got it now. Thanks so much

#

Bingo, script is working now. Thank you.

pastel token
#

o/

wraith socketBOT
#
Thread Closing Reminder

Has your issue been resolved, or your question been answered?
If so, please use the </resolved:1028673926114594866> command to close your thread.
Or </invalid:1028673926898909185> if it's not possible to resolve.

If not yet resolved, please reply below to tell us what you still need.

(Note that if there is no reply for a few days, this thread will eventually close itself.)

#

@hexed acorn