Advertisement
nunonuno_riku

Untitled

Jun 13th, 2018
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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}%を引きました"
  7.  
  8. command /dice-addon2 <number>:
  9. trigger:
  10. set {%player%.dice2} to random integer between 1 and arg-1
  11. if {%player%.dice2} is 2:
  12. message "&c&l%{%player%.dice2}%&6が出ました。"
  13. broadcast "&6%player%さんが%arg 1%ダイスで%{%player%.dice2}%を引きました"
  14.  
  15. command /mdice [<number>]:
  16. trigger:
  17. if arg 1 is "":
  18. command "/dice-addon"
  19. if arg 1 is "%arg 1%":
  20. command "/dice-addon2 %arg 1%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement