Advertisement
SuzukazeK

Untitled

Aug 17th, 2019
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. command /ranking:
  2. trigger:
  3. set {_high} to 0
  4. loop {ランキングにしたい変数::*}:
  5. set {_list::%loop-index%} to loop-value
  6. loop 何位まで表示するか times:
  7. loop {_list::*}:
  8. loop-value-2 > {_high}
  9. set {_high} to loop-value-2
  10. set {_highplayer} to loop-index
  11. message "%loop-number%位%{_highplayer}%さんの%{_high}%ポイント!"
  12. set {_high} to 0
  13. delete {_list::%{_highplayer}%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement