Set new value without updating old.

  • 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 community!

    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.

SzymoonDev

Member
Sep 30, 2017
12
0
0
Hi,
I have problem. I want to write top of player's levels in digging.
My code snippet:
https://code.skript.pl/iCKY2V1X/

While player is digging, value 1 has added to variable {levels::currentlevel::%player%}.
When i have 2 players (test and test2), and they have the same level (2), script update variable in {_list::%loop-value%}. I would like to script add new, not update.

You dont understand?
On the server are two players, test and test2. They have the same level - 2. When i want to see top of player's level, skript will add one of them.

Sorry for my bad English. I hope you understand.
 
Status
Not open for further replies.