Advertisement
ReportCards

Untitled

Apr 11th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. command /clearchat:
  2. aliases: /cc, /clearc, /chatc
  3. permission: creation.clearchat
  4. trigger:
  5. loop 200 times:
  6. broadcast " "
  7. broadcast "<gray>Chat has been cleared by <aqua>%player%"
  8. command /lockchat:
  9. aliases: /lc, /lockc, /chatl
  10. permission: creation.lockchat
  11. trigger:
  12. set {locker} to "%player%"
  13. set {locked} to 1
  14.  
  15. broadcast "<gray>Chat has been locked by <aqua>%player%"
  16. command /unlockchat:
  17. aliases: /ulc, /ulockc, /chatul
  18. permission: creation.lockchat
  19. trigger:
  20. set {locked} to 0
  21.  
  22. broadcast "<gray>Chat has been unlocked by <aqua>%player%"
  23. on chat:
  24. check [{locked} is 1]->[player does not have permission "creation.chatbypass"]:
  25. cancel event
  26. message "<gray>Chat is currently locked by <aqua>{locker}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement