Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /ranking:
- trigger:
- set {_high} to 0
- loop {ランキングにしたい変数::*}:
- set {_list::%loop-index%} to loop-value
- loop 何位まで表示するか times:
- loop {_list::*}:
- loop-value-2 > {_high}
- set {_high} to loop-value-2
- set {_highplayer} to loop-index
- message "%loop-number%位%{_highplayer}%さんの%{_high}%ポイント!"
- set {_high} to 0
- delete {_list::%{_highplayer}%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement