Advertisement
Guest User

Untitled

a guest
Sep 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. on join:
  2. set {%player%cooldwon-chat} to now
  3. set {%player%cooldwon-command} to now
  4.  
  5. on chat:
  6. difference between {%player%cooldwon-chat} and now is less than {@クールダウン[chat]}:
  7. cancel event
  8. send "{@prefix} {@警告文[chat]}" to player
  9. else:
  10. set {%player%cooldwon-chat} to now
  11.  
  12. on command:
  13. difference between {%player%cooldwon-command} and now is less than {@クールダウン[command]}:
  14. cancel event
  15. send "{@prefix} {@警告文[command]}" to player
  16. else:
  17. set {%player%cooldwon-command} to now
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement