Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on chat:
- if {hot.%player%} is true:
- cancel event
- send "&cメッセージの送信間隔が速すぎます。"
- stop
- set {hot.%player%} to true
- wait {cooldown}
- delete {hot.%player%}
- command /cooldown [<time span>]:
- trigger:
- if sender does not have permission "cooldown.settime":
- send "&cこのコマンドを実行する権限がありません。"
- send "&cこのコマンドを実行するには、「&acooldown.settime&c」が必要です。"
- stop
- if arg 1 is not set:
- send "&c使用法:/cooldown <時間>"
- send ""
- send "&bクールダウン時間を設定します。"
- send "&b時間はSkriptの時間形式(time span)で指定する必要があります。"
- stop
- if arg 1 is less than 0 seconds:
- send "&c時間を0秒以下にすることはできません。"
- stop
- set {cooldown} to arg 1
- broadcast "&bクールダウン時間が&e%arg 1%&bに変更されました。"
Advertisement
Add Comment
Please, Sign In to add comment