dawid26pl

Chat-min

Jul 14th, 2015
355
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. #=======================#
  2. # Chat-min by dawid26pl #
  3. # Version: 1.0 #
  4. # Skript: 2.1.2 #
  5. #=======================#====================================================#
  6. # Zakaz podszywania sie pod autora i uzywania tego skryptu w celach wlasynch #
  7. #============================================================================#
  8. on load:
  9. set {chat} to "true"
  10. set {name} to "Chat-min.sk"
  11. set {tag} to "&c[&4Chat&c-&4min&c]&a"
  12. set {autor} to "&4&ldawid26pl&f"
  13. set {czas} to "1"
  14. wait 6 tick
  15. broadcast "%{tag}% Skrypt Zaladowany"
  16. on chat:
  17. if {chat} is "false":
  18. cancel event
  19. send "%{tag}%Chat jest wylaczony"
  20. command /chat [<text="help">]:
  21. permission: use.chat-min
  22. permission message: %{tag}% Nie masz dostepu!
  23. trigger:
  24. if arg 1 is "on":
  25. if {chat} is "false":
  26. set {chat} to "true"
  27. broadcast " %{tag}%"
  28. broadcast " &9Chat zostal &awlaczony &9przez &c%player%"
  29. else:
  30. send "%{tag}% Chat jest &awlaczony"
  31. else if arg 1 is "off":
  32. if {chat} is "true":
  33. set {chat} to "false"
  34. broadcast " %{tag}%"
  35. broadcast " &9Chat zostal &cwylaczony &9przez &c%player%"
  36. else:
  37. send "%{tag}% Chat jest &cwylaczony"
  38. else if arg 1 is "help":
  39. send "&c----------<==%{tag}%&c==>----------"
  40. send "&c/chat on - Wlacza chat"
  41. send "&c/chat off - Wylacza chat"
  42. send "&c/chat help - Pokazuje pomoc"
  43. send "&c/chat reload - Resetuje skrypt"
  44. send "&c/chat clear - Czysci chat"
  45. else if arg 1 is "reload":
  46. execute console command "/skript reload %{name}%"
  47. else if arg 1 is "clear":
  48. loop 1000 times:
  49. broadcast " "
  50. broadcast " %{tag}%"
  51. broadcast " &9Chat zostal wyczyszczony przez &c%player%"
Advertisement
Add Comment
Please, Sign In to add comment