Advertisement
buss2

Untitled

Feb 11th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. command /cc:
  2. trigger:
  3. if player has permission "uprawnienie":
  4. loop 100 times:
  5. send "" to all players
  6. send "Wyczyszczono czat"
  7.  
  8. command /c [<text>]:
  9. trigger:
  10. if player has permission "uprawnienie":
  11. if arg 1 is "on":
  12. if {czat} is false:
  13. set {czat} to true
  14. send "Gracz %player% wlaczyl czat!" to all players
  15. else:
  16. send "Czat jest juz wlaczony"
  17. if arg 1 is "off":
  18. if {czat} is true:
  19. set {czat} to false
  20. send "Gracz %player% wylaczyl czat!" to all players
  21. else:
  22. send "Czat jest juz wylaczony"
  23.  
  24. on chat:
  25. if {czat} is off:
  26. if player don't have permission "czat":
  27. cancel event
  28. send "Czat jest wylaczony"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement