Guest User

Untitled

a guest
Oct 20th, 2014
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. variables:
  2. {chat} = on
  3. on chat:
  4. if {chat} is off:
  5. if player doesn't have permission "admin.chat":
  6. cancel event
  7. send "&7Czat w tej chwili jest wylaczony"
  8. else:
  9. set message to "%message%"
  10. command /chat <text>:
  11. trigger:
  12. if player has permission "admin.chat":
  13. if arg is "on":
  14. if {chat} is off:
  15. set {chat} to on
  16. broadcast "&aCzat zostal wlaczony"
  17. else:
  18. send "&7Chat jest wlaczony wpisz &a/chat off&7, aby go wylaczyc"
  19. if arg is "off":
  20. if {chat} is on:
  21. set {chat} to off
  22. broadcast "&cCzat zostal wylaczony"
  23. else:
  24. send "&7Chat jest wylaczony wpisz &a/chat on&7, aby go wlaczyc"
Advertisement
Add Comment
Please, Sign In to add comment