Advertisement
TE1TO9_

Untitled

Apr 23rd, 2019
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.47 KB | None | 0 0
  1. options:
  2.     count: 5
  3.  
  4. command /ranking:
  5.     trigger:
  6.         set {_a} to 0
  7.         loop {list::*}:
  8.             set {_list::%loop-index%} to loop-value
  9.         loop {@count} times:
  10.             loop {_list::*}:
  11.                 loop-value-2 > {_a}
  12.                 set {_a} to loop-value-2
  13.                 set {_n} to loop-index
  14.             message "%loop-number%位%{_n}%さんの%{_a}%ポイント!"
  15.             set {_a} to 0
  16.             delete {_list::%{_n}%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement