Advertisement
Blue_Tec

Untitled

Mar 16th, 2018
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. command /gift [<text>]:
  2. trigger:
  3. if arg-1 is not set:
  4. message "&aここから&6&lGIFT CORD&aを取得します! &dgift.swordcraftonline.cf"
  5. message "&b/gift <cord>"
  6. if arg-1 is set:
  7. if {gift.ttime.%player%} is more than 1:
  8. message "&cあなたは取得済み!%{gift.ttime.%player%}%秒後にもらえます。"
  9. else:
  10. if {gift.cord} is arg-1:
  11. message "&d&l30GP&a獲得しました!"
  12. add 1800 to {gift.ttime.%player%}
  13. add 30 to {gift.point.%player%}
  14. else:
  15. message "&c無効"
  16.  
  17. command /setgift [<text>]:
  18. permission: setgift.admin
  19. permission message: &cYou do not have permission!
  20. trigger:
  21. if arg-1 is not set:
  22. message "&c/setgift <cord>"
  23. if arg-1 is set:
  24. message "&a変更完了!"
  25. set {gift.cord} to arg-1
  26.  
  27. every 1 second:
  28. loop all players:
  29. if {gift.ttime.%loop-player%} is more than 0:
  30. remove 1 from {gift.ttime.%loop-player%}
  31.  
  32. command /giftmenu:
  33. trigger:
  34. open chest with 3 rows named "&d&lGIFT: %{gift.point.%player%}% GP" to player
  35. format slot 4 of player with skull of player named "&d&l%player%" with lore "&b" to be unstealable
  36. format slot 9 of player with gray dye named "&bグループを作成" with lore "&6&l必要: &d2000GP" to close then run [message "&c準備中..."]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement