Solved How to use the EditIdbasedscore effect

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

sandor_1234

Active Member
Jan 26, 2017
165
5
0
21
Skript Version: Skript (Dev 23)
Skript Author: Bensku
Minecraft Version: 1.8.0
Could some one tell me how to use the EditIdBasedScrore effect.
But i can't get it to work or i just don't understand what they mean with id.
Its says:
Edit an ID based score.
When i create an scoreboard for example this one:
88ccc12d50ce2847319f085e3c915ced.png

The id is 1 right? Please correct me if i am wrong.
So it should work if i use this code:
Code (Skript):
  1. edit score with id 1 to 1 and 1
But it just does nothing so what am i doing wrong?
 
no, that's not how it works, you have to set the it when you set the score with the setIDBasedScore effect, here an example:
code_language.skript:
set id score "test" in sidebar of player to 1 with id "someID"
and then you can use the already mentioned effect:
code_language.skript:
edit score id "someID" to "new test" and 1
 
no, that's not how it works, you have to set the it when you set the score with the setIDBasedScore effect, here an example:
code_language.skript:
set id score "test" in sidebar of player to 1 with id "someID"
and then you can use the already mentioned effect:
code_language.skript:
edit score id "someID" to "new test" and 1
Is there a way to only edit the id based score for 1 player, for example:
code_language.skript:
edit score id "someID" in sidebar of player to "new test" and 1
 
Status
Not open for further replies.