Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /gift [<text>]:
- trigger:
- if arg-1 is not set:
- message "&aここから&6&lGIFT CORD&aを取得します! &dgift.swordcraftonline.cf"
- message "&b/gift <cord>"
- if arg-1 is set:
- if {gift.time.%player%} is more than 1:
- message "&cあなたは取得済み!%{gift.time.%player%}%秒後にもらえます。"
- else:
- if {gift.cord} is arg-1:
- message "&a取得しました!"
- add 1800 to {gift.time.%player%}
- else:
- message "&c無効"
- command /setgift [<text>]:
- permission: setgift.admin
- permission message: &cYou do not have permission!
- trigger:
- if arg-1 is not set:
- message "&c/setgift <cord>"
- if arg-1 is set:
- message "&a変更完了!"
- set {gift.cord} to arg-1
- every 1 second:
- loop all players:
- if {gift.time.%loop-player%} is more than 0:
- remove 1 from {gift.time.%loop-player%}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement