#skript

7 messages · Page 1 of 1 (latest)

olive oak
#

anyone know why this line doesn't work ?

set {_sortedPlayers::*} to sorted {blocks.broken::*} by value descending

Error says it can't understand the expression
Addons : skbee, skellett, skquery, skrayfall, skript reflect

#

the main goal of my skript is to make a leaderboard on a command (/minerstop)

wide otter
# olive oak anyone know why this line doesn't work ? ``` set {_sortedPlayers::*} to sorted {...

It seems the issue might be related to compatibility or syntax differences with the addons you're using. Here's a possible solution:

Make sure you're using the correct syntax supported by your version of Skript and addons. Try this alternative:

set {_sortedPlayers::*} to sorted {blocks.broken::*} by value from highest to lowest

If that doesn't work, you could also try using Skript Reflect like this:

set {_sortedPlayers::*} to sort {blocks.broken::*} in descending order by values

Lastly, ensure that the list {blocks.broken::*} is correctly populated with data. If the error persists, try updating your addons or testing the code with fewer addons to check for conflicts.

solid flax
#
solid flax
olive oak
olive oak
#

@solid flax sorry for the ping but do you know about the question right above?