SHOW:
|
|
- or go back to the newest paste.
| 1 | command /dice-addon: | |
| 2 | trigger: | |
| 3 | set {%player%.dice1} to random integer between 1 and 6
| |
| 4 | if {%player%.dice1} is 1:
| |
| 5 | message "&c&l%{%player%.dice1}%&6が出ました。"
| |
| 6 | - | broadcast "&6%player%さんが6ダイスで%{%player%.dice1}%を引きました"
|
| 6 | + | |
| 7 | command /dice-addon2 <number>: | |
| 8 | trigger: | |
| 9 | set {%player%.dice2} to random integer between 1 and arg-1
| |
| 10 | if {%player%.dice2} is 2:
| |
| 11 | message "&c&l%{%player%.dice2}%&6が出ました。"
| |
| 12 | ||
| 13 | - | broadcast "&6%player%さんが%arg 1%ダイスで%{%player%.dice2}%を引きました"
|
| 13 | + | |
| 14 | trigger: | |
| 15 | if arg 1 is "": | |
| 16 | command "/dice-addon" | |
| 17 | if arg 1 is "%arg 1%": | |
| 18 | command "/dice-addon2 %arg 1%" |