Advertisement
Guest User

Untitled

a guest
Oct 24th, 2014
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.69 KB | None | 0 0
  1. options:
  2. czas_muta: 2
  3. variables:
  4. {mute.%player%} = false
  5. on chat:
  6. if {mute.%player%} is false:
  7. loop all {cenzura::slowa::*}
  8. if chat message contains "%loop-value%":
  9. cancel event
  10. send "&cZostales zmutowany za przeklinanie na czacie! &7(&b{@czas_muta} minut&7) &cprzez &4Serwer"
  11. loop all players:
  12. if loop-player is an op:
  13. send "&cZostales zmutowany za przeklinanie na czacie! &7(&b{@czas_muta} minut&7) &cprzez &4Serwer" to loop-player
  14. set {mute.%player%} to true
  15. wait {@czas_muta} minutes
  16. set {mute.%player%} to false
  17. else:
  18. stop
  19. else:
  20. cancel event
  21. send "&cJestes zmutowany na &7(&b{@czas_muta} minut&7)&cza przeklenstwa"
  22. command /cenzura [<text>] [<text>]:
  23. trigger:
  24. if player has permission "unmute.mute":
  25. if arg 1 is not set:
  26. send "&cBlad: &7Poprawne uzycie &6/cenzura dodaj/usun/lista [slowo]"
  27. if arg 1 is "dodaj":
  28. if arg 2 is set:
  29. add "%arg 2%" to {cenzura::slowa::*}
  30. else:
  31. send "&cBlad: &7Wpisz slowo ktore chcesz dodac!"
  32. if arg 1 is "usun":
  33. if arg 2 is set:
  34. remove "%arg 2%" from {cenzura::slowa::*}
  35. else:
  36. send "&cBlad: &7Wpisz slowo ktore chcesz dodac!"
  37. if arg 1 is "lista":
  38. send "&7Lista przeklenst:"
  39. send "&a%{cenzura::slowa::*}%"
  40. command /unmut [<text>]:
  41. trigger:
  42. if player has permission "unmute.mute":
  43. if arg is set:
  44. if {mute.%arg 1%} is true:
  45. send "&7Odmutowales &b%arg 1%"
  46. set {mute.%arg 1%} to false
  47. else:
  48. send "&7Ten gracz nie jest zmutowany"
  49. else:
  50. send "&7Uzycie /unmut &9nick"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement