UDON_JP

Untitled

May 1st, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. command /casino:
  2. trriger:
  3. open chest with 3 rows named "&6&lCasino" to player
  4. set slot 10 of player's current inventory to gold nugget named "&6所持金:%player's money%"
  5. set slot 12 of player's current inventory to stone button named "&0&l丁&f&l半&e&l博打"
  6.  
  7. on inventory click:
  8. if name of player's current inventory contain "&6所持金:%player's money%":
  9. cancel event
  10. if name of clicked item is "&0&l丁&f&l半&e&l博打":
  11. close player's inventory
  12. send "&6賭けるお金を指定してください。"
  13. send "&3cancel&6と打つとキャンセルします。"
  14. send "&call&6と打つと所持金を&cすべて賭けれます。"
  15. set {th.chat.%player%} to true
  16. execute player command "/jp off"
  17. stop
  18. if name of clicked item is "サーバーの説明":
  19. send "荒らさない!"
  20.  
  21. on chat:
  22. {th.chat.%player%} is true
  23. cancel event
  24. set {_msg} to message
  25. delete {th.chat.%player%}
  26. execute player command "/jp on"
  27. execute player command "/thb %{_msg}%"
  28.  
  29. command /thb <integer>:
  30. aliases: /tyouhanbakuti
  31. usage: /thb <掛け金>
  32. trigger:
  33. if arg 1 is less than 100:
  34. send "&c掛け金は100円以上にしてください"
  35. else:
  36. broadcast "&e‡&7==============================&e&lCasino&7==============================&e‡"
  37. broadcast "&f&l%player%&6さんが丁半博打を始めました!"
  38. broadcast "&e掛け金は&b%arg 1%$&6円です!"
  39. broadcast "&a/aucd&6で出品された品を確認できます"
  40. broadcast "&e‡&7====================================================================&e‡"
Add Comment
Please, Sign In to add comment