dawid26pl

Chat-min 2.0

Jul 16th, 2015
435
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. #=======================#
  2. # Chat-min by dawid26pl #
  3. # Version: 2.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 player has permission "use.chat-min":
  18. else:
  19. if {chat} is "false":
  20. cancel event
  21. send "%{tag}%Chat jest wylaczony"
  22.  
  23. command /chat [<text="help">]:
  24. permission: use.chat-min
  25. permission message: %{tag}% Nie masz dostepu!
  26. trigger:
  27. if arg 1 is "on":
  28. if {chat} is "false":
  29. set {chat} to "true"
  30. broadcast " %{tag}%"
  31. broadcast " &9Chat zostal &awlaczony &9przez &c%player%"
  32. else:
  33. send "%{tag}% Chat jest &awlaczony"
  34. else if arg 1 is "off":
  35. if {chat} is "true":
  36. set {chat} to "false"
  37. broadcast " %{tag}%"
  38. broadcast " &9Chat zostal &cwylaczony &9przez &c%player%"
  39. else:
  40. send "%{tag}% Chat jest &cwylaczony"
  41. else if arg 1 is "help":
  42. send "&c----------<==%{tag}%&c==>----------"
  43. send "&c/chat on - Wlacza chat"
  44. send "&c/chat off - Wylacza chat"
  45. send "&c/chat help - Pokazuje pomoc"
  46. send "&c/chat reload - Resetuje skrypt"
  47. send "&c/chat clear - Czysci chat"
  48. else if arg 1 is "reload":
  49. execute console command "/skript reload %{name}%"
  50. else if arg 1 is "clear":
  51. loop 1000 times:
  52. broadcast " "
  53. broadcast " %{tag}%"
  54. broadcast " &9Chat zostal wyczyszczony przez &c%player%"
Advertisement
Add Comment
Please, Sign In to add comment