SHOW:
|
|
- or go back to the newest paste.
1 | - | command /la <text> <text>: |
1 | + | command /random <text> <text> <number> <number>: |
2 | permission: admin | |
3 | - | arg-1 is "1013256" |
3 | + | |
4 | - | execute console command "/execute %player% ~ ~ ~ /scoreboard players set @p[r=1,team=!nige] class %arg-2%" |
4 | + | if arg-1 is set: |
5 | - | |
5 | + | set {_random} to random integer between arg-3 and arg-4 |
6 | - | command /li <text> <text>: |
6 | + | execute console command "/scoreboard players set %arg-1% %arg-2% %{_random}%" |
7 | else: | |
8 | - | arg-1 is "1013256" |
8 | + | message "/randome <player> <score> <最小数> <最大数>" |