Guest User

Skrypty na chat!

a guest
Oct 12th, 2016
426
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.57 KB | None | 0 0
  1. on chat:
  2. replace all "kurwa" witch in the message "[Cenzura]"
  3. replace all "chuj" witch in the message "[Cenzura]"
  4. replace all "pizda" witch in the message "[Cenzura]"
  5. replace all "huj" witch in the message "[Cenzura]"
  6. replace all "pierdol sie" witch in the message "[Cenzura]"
  7. replace all "gowno z dupy" witch in the message "[Cenzura]"
  8. replace all "jprdl" witch in the message "[Cenzura]"
  9. replace all "pierdole" witch in the message "[Cenzura]"
  10. replace all "dupa" witch in the message "[cenzura]"
  11. replace all "Zapraszam na serwer" witch in the message ""
  12. replace all "Wbijaj na serwer" witch in the message ""
  13. replace all "Zapraszam na mój serwer" witch in the message ""
  14. replace all ".pl" wich in the message ""
  15. replace all "hc" witch in the message ""
  16. replace all ".com" witch in the message ""
  17. replace all ".net" witch in the message ""
  18. replace all ".ench.pl witch in the message ""
  19. replace all ".org" witch in the message ""
  20. command /chat [<text>] [<text>]:
  21. trigger:
  22. if player has permission "chat.e":
  23. if arg 1 is empty:
  24. send " &8» &7Poprawne uzycie: &c/chat <off/on/clear>" to player
  25. else if arg 1 is "on":
  26. if {chat.stan} is true:
  27. send " &8» &7Chat jest juz &cwlaczony" to player
  28. stop trigger
  29. set {chat.stan} to true
  30. broadcast " &8» &7Chat zostal wlaczony przez &c%player%"
  31. else if arg 1 is "off":
  32. if {chat.stan} is false:
  33. send " &8» &7Chat jest juz &cwylaczony" to player
  34. stop trigger
  35. set {chat.stan} to false
  36. loop 100 times:
  37. broadcast " "
  38. if "%arg 2%" is "<none>":
  39. broadcast " &8» &7Chat zostal wylaczony przez &c%player%"
  40. else:
  41. broadcast " &c## &8Chat zostal &4wylaczony &7przez &8%player%&7, z powodu &c%arg 2%"
  42. else if arg 1 is "c":
  43. loop 100 times:
  44. broadcast " "
  45. broadcast " &8» &7Chat zostal wyczyszczony przez &c%player%"
  46. else:
  47. send "&8## &7Poprawne uzycie &6/chat <off/on/c>" to player
  48. stop trigger
  49. else:
  50. send " &8» &7&cBrak uprawnien!"
  51.  
  52. command /cc:
  53. trigger:
  54. if player has permission "chat.cc":
  55. loop 100 times:
  56. broadcast " "
  57. broadcast " &8» &7Chat zostal wyczyszczony przez &c%player%"
  58. else:
  59. send " &8» &cNie masz uprawnien!"
  60.  
  61.  
  62. on chat:
  63. if {chat.stan} is false:
  64. if player has permission "chat.vip" or "chat.vip":
  65. stop trigger
  66. else:
  67. cancel event
  68. send " &8» &7Chat jest aktualnie &cwylaczony"
  69. stop
  70.  
  71.  
  72. Nie zezwam podszywania sie pod autora
  73. Nie zezwalam na kasowanie linijki
  74. Nie zezwalam na Handel na skrypcie
  75. INFO:
  76. Kolejna aktualnizacja? Dodam auto message
Advertisement
Add Comment
Please, Sign In to add comment