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