Advertisement
Guest User

Untitled

a guest
Nov 15th, 2018
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. command /WyczyscChat [<text>]:
  2. permission: clearchat
  3. trigger:
  4. if argument is "tajne" or "t":
  5. loop 200 times:
  6. send "" to all players
  7. else:
  8. loop 200 times:
  9. send "" to all players
  10. send "&b&lKacperny's chat|&f Chat został wyczyszczony przez &6%player%" to all players
  11. command /chatoff:
  12. permission: chatoff
  13. aliases: /coff
  14. trigger:
  15. set {chat} to 0
  16. send "&b&lKacperny's chat|&f Chat został wyłączony przez &6%player%" to all players
  17. command /chaton:
  18. permission: chaton
  19. aliases: /con
  20. trigger:
  21. set {chat} to 1
  22. send "&b&lKacperny's chat|&f Chat został włączony przez &6%player%" to all players
  23. on chat:
  24. if {chat} is 0:
  25. player has permission "chatpisanie":
  26. stop
  27. else:
  28. cancel event
  29. send "&cChat jest wyłączony"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement