I want to create clan top based on kdr for my clan system.
And to make top I need to sort this {clans points clantag} by their value - numbers.
For example {clans:oints::XYZ} has value of 10 and goes first. {clans:oints::ABC} has value of 5 and goes second.
How do I do it?
code_language.skript:
on death:
add 1 to {clans::points::%{clans::players::%attacker%}%}
# this would be {clans::points::tag of attacker's clan}
remove 1 from {clans::points::%{clans::players::%victim%}%}
# this would be {clans::points::tag of victim's clan}
For example {clans:oints::XYZ} has value of 10 and goes first. {clans:oints::ABC} has value of 5 and goes second.
How do I do it?