SopelPL

Untitled

Apr 18th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. variables:
  2. {chat} = true
  3. options:
  4. tag: &8[&6C&aH&bA&aT&8]
  5. command /chat [<text>]:
  6. trigger:
  7. if player has permission "chat.info" or "chat.*":
  8. if argument 1 isn't set:
  9. send "&8>>&c/chat on"
  10. send "&8>>&c/chat off"
  11. send "&8>>&c/chat clear"
  12. stop
  13. if argument 1 is "off":
  14. set {chat} to false
  15. send "{@tag} &cWylaczyles chat!"
  16. broadcast "&cChat zostal wylaczony przez %player%"
  17. stop
  18. if argument 1 is "on":
  19. send "&cChat zostal wlaczony!"
  20. set {chat} to true
  21. stop
  22. else:
  23. send "{@tag} &cNie masz uprawnien!"
  24. on chat:
  25. if {chat} is false:
  26. send "{@tag} &aChat jest obecnie wylaczony!"
  27. cancel event
  28. stop
Advertisement
Add Comment
Please, Sign In to add comment