command /balancetop:
aliases: /baltop, /moneytop
trigger:
loop {baltop::*}:
set {baltop::%loop-index%} to "%loop-value%" parsed as integer
set {_baltop::*} to sorted {money::*} from highest to lowest with format "&f@index &f- &a$@value"
set {_a} to 0
loop {_baltop::*}:
{_a} != 10
add 1 to {_a}
send "&a%{_a}%&a. &f%loop-value%"
how would I make the money formatted?
500000 -> 500,000
aliases: /baltop, /moneytop
trigger:
loop {baltop::*}:
set {baltop::%loop-index%} to "%loop-value%" parsed as integer
set {_baltop::*} to sorted {money::*} from highest to lowest with format "&f@index &f- &a$@value"
set {_a} to 0
loop {_baltop::*}:
{_a} != 10
add 1 to {_a}
send "&a%{_a}%&a. &f%loop-value%"
how would I make the money formatted?
500000 -> 500,000