Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /Ranking:
- trigger:
- loop {kills::*}:
- add 1 to {_size}
- if {_low.to.high.list::%loop-value%} is not set:
- set {_low.to.high.list::%loop-value%} to loop-index
- else:
- set {_n} to 0
- loop {_size} times:
- set {_n} to {_n}+1
- {_low.to.high.list::%loop-value-1%.%{_n}%} is not set
- set {_low.to.high.list::%loop-value-1%.%{_n}%} to loop-index
- stop loop
- wait 1 tick
- set {_n} to size of {_low.to.high.list::*}
- loop {_low.to.high.list::*}:
- set {_high.to.low.list::%{_n}%} to loop-value
- set {_n} to {_n}-1
- wait 1 tick
- send " &8[&e&lRANKING&8] "
- send " "
- loop {_high.to.low.list::*}:
- add 1 to {_result}
- send "&9&m--------------------------------------------"
- send "&6&lTOP&7: &e&l%{_result}%"
- send "&bShinobi&7: &e%loop-value%" to player
- send "&cAsesinatos&7: &e%{kills::%loop-value%}% &7- &5K/D&7: &6%{kd::%loop-value%}% &7- &4Muertes&7: &e%{muertes::%loop-value%}% &8&o(&b&oFama&7&o: &9&o%{Fama::%loop-value%}%&8&o) " to player
- if {_result} is 4:
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement