Guest User

Untitled

a guest
Aug 24th, 2019
72
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. command /chat [<text>]:
  2. permission: chat.admin
  3. permission message: &8>> &cNie masz uprawnien!
  4. trigger:
  5. if arg is not set:
  6. send "&8>> &cPoprawne uzycie: &7/chat <on/off/clear>"
  7. stop
  8. if arg is "on":
  9. send "&8>> &8Wlaczyles &6chat!"
  10. broadcast "&8>> &6Chat zostal &awlaczony &6przez &7%player%"
  11. set {chat.status} to true
  12. if arg is "off":
  13. send "&8>> &8Wylaczyles &6chat!"
  14. broadcast "&8>> &6Chat zostal &awylaczony &6przez &7%player%"
  15. set {chat.status} to false
  16. if arg is "clear" or "c":
  17. loop all players:
  18. loop 200 times:
  19. send "" to loop-player
  20. broadcast "&8>> &6Chat zostal wyczyszczony przez &7%player%"
  21. else:
  22. send "&8>> &cPoprawne uzycie: &7/chat <on/off/clear>"
  23. stop
  24. on chat:
  25. if player don't have permission "chat.pisanie":
  26. if {chat.status} is false:
  27. cancel event
  28. send "&8>> &7Chat jest aktualnie zablokowany."
  29. stop
RAW Paste Data