command /cointop:
aliases: /ct
cooldown: 10 seconds
cooldown bypass: sk.admin
trigger:
set {_sorted::*} to sorted indices of {stats::balance::*} in descending order
send "&6&lCoin Top:"
loop 5 times:
set {_p} to {_sorted::%loop-value%} parsed as offlineplayer
set {_val} to {stats::balance::%{_sorted::%loop-value%}%}
send "&c%loop-value%. &e%{_p}% &8- &6$%{_val}%"
#This is a skript for a bal top, who shows who got the most money, only problem is, its frozen, it won't update, all usernames come up, all coin amounts come up, but just not updated!
any solution?
aliases: /ct
cooldown: 10 seconds
cooldown bypass: sk.admin
trigger:
set {_sorted::*} to sorted indices of {stats::balance::*} in descending order
send "&6&lCoin Top:"
loop 5 times:
set {_p} to {_sorted::%loop-value%} parsed as offlineplayer
set {_val} to {stats::balance::%{_sorted::%loop-value%}%}
send "&c%loop-value%. &e%{_p}% &8- &6$%{_val}%"
#This is a skript for a bal top, who shows who got the most money, only problem is, its frozen, it won't update, all usernames come up, all coin amounts come up, but just not updated!
any solution?