Advertisement
Guest User

Untitled

a guest
Feb 14th, 2016
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.19 KB | None | 0 0
  1. variables:
  2. {chatoff} = false
  3. command /chat [<text>] [<text>] [<text>] [<text>]:
  4. aliases: /chat
  5. permission: chat.admin
  6. permission message: &cNie masz uprawnien do uzycia tej komendy!
  7. trigger:
  8. if arg 1 is not set:
  9. send "&8--====&8[&c&lMY&3&lFEJM&8]====--"
  10. send "&6/chat off &7- Wylacza chat"
  11. send "&6/chat on &7- Wlacza chat"
  12. send "&6/chat cc &7- Czysci chat"
  13. if arg 1 is "off":
  14. if {chatoff} is false:
  15. set {chatoff} to true
  16. broadcast " &8--====&8[&6&lMY&3&lFEJM&8]====--"
  17. broadcast " &6Chat zostal: &cWylaczony"
  18. broadcast " &6Przez administratora: &2%player%"
  19. else:
  20. send "&c>> &6Chat jest juz wylaczony!"
  21. if arg 1 is "on":
  22. if {chatoff} is true:
  23. set {chatoff} to false
  24. broadcast " &8--====&8[&6&lMY&3&lFEJM&8]====--"
  25. broadcast " &6Chat zostal: &aWlaczony"
  26. broadcast " &6Przez administratora: &2%player%"
  27. else:
  28. send "&c>> &6Chat jest juz wlaczony!"
  29. if arg 1 is "cc" or "wyczysc":
  30. loop 100 times:
  31. broadcast ""
  32. loop 1 times:
  33. broadcast " &8--====&8&6&lMY&3&lFEJM&8]====--"
  34. broadcast " &6Chat zostal: &aWyczyszczony"
  35. broadcast " &6Przez administratora: &2%player%"
  36. on chat:
  37. if {chatoff} is true:
  38. player doesn't have permissions "VIP.Chat":
  39. cancel event
  40. send "&9>> &7Chat jest aktualnie wylaczony!"
  41.  
  42. on chat:
  43. replace all "chuj" in message with "***"
  44. on chat:
  45. replace all "kurwa" in message with "***"
  46. on chat:
  47. replace all "pierdole" in message with "***"
  48. on chat:
  49. replace all "pierdol sie" in message with "***"
  50. on chat:
  51. replace all "sex" in message with "***"
  52. on chat:
  53. replace all "k.u.r.w.a" in message with "***"
  54. on chat:
  55. replace all "craft" in message with "*"
  56. on chat:
  57. replace all "hostmc" in message with "*"
  58. on chat:
  59. replace all "csrv" in message with "*"
  60. on chat:
  61. replace all "skkf" in message with "*"
  62. on chat:
  63. replace all "cubix" in message with "*"
  64. on chat:
  65. replace all "mcraft" in message with "*"
  66. on chat:
  67. replace all "com" in message with "*"
  68. on chat:
  69. replace all "pl" in message with "*"
  70. on chat:
  71. replace all "easyhard" in message with "*"
  72. on chat:
  73. replace all "xfast" in message with "*"
  74. on chat:
  75. replace all "stonecraft" in message with "*"
  76. on chat:
  77. replace all "maxc" in message with "*"
  78. on chat:
  79. replace all "maxcraft" in message with "*"
  80. on chat:
  81. replace all "mc" in message with "*"
  82. on chat:
  83. replace all "net" in message with "*"
  84. on chat:
  85. replace all "skyen" in message with "*"
  86. on chat:
  87. replace all "mchc" in message with "*"
  88. on chat:
  89. replace all "enderchest" in message with "*"
  90. on chat:
  91. replace all "fhmc" in message with "*"
  92. on chat:
  93. replace all "yfun" in message with "*"
  94. on chat:
  95. replace all "jakub0301" in message with "*"
  96. on chat:
  97. replace all "muma" in message with "*"
  98. on chat:
  99. replace all "xmuma" in message with "*"
  100. on chat:
  101. replace all "mckox" in message with "*"
  102. on chat:
  103. replace all "ENCH" in message with "*"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement