Hi all,
as I am unable to find any working solution I would like to know if anybody else here knows a good solution for advanced toplists in skript?
Something like this:
Can anybody help me with this? How would you do a good toplist in skript?
as I am unable to find any working solution I would like to know if anybody else here knows a good solution for advanced toplists in skript?
Something like this:
Code:
add "player1" to {_score::}
add "player2" to {_score::}
add "player3" to {_score::*}
set {_score::emoji_stuck_out_tongue:layer1::score} to 15
set {_score::emoji_stuck_out_tongue:layer2::score} to 40
set {_score::emoji_stuck_out_tongue:layer3::score} to 10
set {_sorted::} to sorted list (sorted by value from high to low) {_score::}
loop {_sorted::*}:
message "%loop-index% = %loop-value%"
Can anybody help me with this? How would you do a good toplist in skript?