ThePolishThomas

Chat Skript Minecraft ChatThomas

Sep 5th, 2015
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. command /chat [<text>]:
  2. aliases: c
  3. permission message: &cNie masz uprawnien.
  4. permission: info.chat
  5. trigger:
  6. if arg 1 is not set:
  7. send "&fUzyj:&7 off, on, czysc"
  8. if arg 1 is "czysc" or "c":
  9. loop 100 times:
  10. broadcast " "
  11. broadcast " &7&l[&1&lChat&7&l]"
  12. broadcast " &2&lChat zostal: &4&lWyczyszczony!"
  13. if arg 1 is "on" or "wlacz":
  14. set {thomas::chat} to true
  15. broadcast " &7&l[&1&lChat&7&l]"
  16. broadcast " &2&lChat zostal: &a&lWlaczony!"
  17. if arg 1 is "off" or "wylacz":
  18. set {thomas::chat} to false
  19. broadcast " &7&l[&1&lChat&7&l]"
  20. broadcast " &2&lChat zostal: &4&lWylaczony!"
  21. on chat:
  22. if player doesn't have permission "thomas.czas":
  23. if {czas::%player%} is 0:
  24. set {SlowMode::%player%} to 5
  25. wait 1 second
  26. set {SlowMode::%player%} to 3
  27. wait 1 second
  28. set {SlowMode::%player%} to 2
  29. wait 1 second
  30. set {SlowMode::%player%} to 1
  31. wait 1 second
  32. set {SlowMode::%player%} to 0
  33. else:
  34. cancel event
  35. send "&cNa chacie mozesz pisac za &4 %{SlowMode::%player%}% sekund!"
  36. on chat:
  37. if player doesn't have permission "chat.off":
  38. if {thomas::chat} is false:
  39. cancel event
  40. send "&cAktualnie chat jest wylaczony!"
  41. on load:
  42. loop all players:
  43. set {SlowMode::%loop-player%} to 0
  44. on join:
  45. set {SlowMode::%player%} to 0
Advertisement
Add Comment
Please, Sign In to add comment