How to effectively rank a top

  • 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.

Spartan9802

Member
Jan 26, 2017
158
8
18
26
Hello,
I've already devised a system that works very well but is resource-intensive, I've tested the "sorted" function and it's much more efficient.
Here's how I would like to rank my list:
code_language.skript:
{list::1} = player
{list::1::score} = score

Here's how to create my list:
code_language.skript:
{mylist::%player%} = score

I don't know if I am clear in my explanations, thank you for your help
 
So what issue are you having?
If you are asking someone to make a skript for you you can post it in the requests section^-^
 
I don't ask for a skript but rather a direct me, I did some tests with the "sorted" function it works very well but doesn't keep the loop-index ^^
Here's the little test I did:
code_language.skript:
command /test3:
    trigger:
        loop 60 times:
            add 1 to {_count}
            set {_test::test%{_count}%} to a random integer between 1 and 90000
        set {_test::*} to sorted {_test::*}
        loop {_test::*}:
            send "%loop-index% = %loop-value%"
 
Status
Not open for further replies.