Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-------------------------#
- # Polski Skript - By Enny #
- #-------------------------#
- # czat.on - komenda /czat on
- # czat.off - komenda /czat off
- # czat.czysc - komenda /czat czysc
- # czat.pisanie1 - pozwala na pisanie przy wylaczonym czacie
- # czat.pisanie2 - pozwala na pisanie zawsze i ciągle
- # czat.komendy - jakie sa komendy
- options:
- tag: &3&lSkript&7&lCrafters
- ilesekund: 10
- variables:
- {czat} = true
- command /czat [<text>]:
- trigger:
- if arg 1 is "on":
- if {czat} is false:
- if player has permission "czat.on":
- set {czat} to true
- broadcast ""
- broadcast " {@tag}"
- broadcast " &9Chat zostal &7Wlaczony"
- broadcast ""
- stop
- else:
- send "&4Brak: &cUprawnien"
- stop
- else:
- send "&7&l > &r&3Chat jest juz &r&7Wlaczony."
- stop
- if arg 1 is "off":
- if {czat} is true:
- if player has permission "czat.off":
- set {czat} to false
- broadcast ""
- broadcast " {@tag}"
- broadcast " &9Chat zostal &7Wylaczony"
- broadcast ""
- stop
- else:
- send "&4Brak: &cUprawnien"
- stop
- else:
- send "&7&l > &r&3Chat jest juz &r&7Wylaczony."
- stop
- if arg 1 is "czysc":
- if player has permission "czat.czysc":
- loop 98 times:
- broadcast " "
- wait 1 second
- broadcast " {@tag}"
- broadcast " &9Chat zostal &7Wyczyszczony"
- broadcast ""
- stop
- else:
- send "&4Brak: &cUprawnien"
- stop
- on chat:
- if {czat} is false:
- if player has permission "czat.pisanie1":
- stop
- else:
- cancel event
- send "&7&l > &r&3Chat jest aktualnie &r&7Wylaczony."
- stop
- else:
- if player has permission "czat.pisanie2":
- stop
- set {_waited} to difference between {czat.%player%.spam} and now
- if {_waited} is less than 5 real seconds seconds:
- send "&7&l > &r&3Mozesz pisac za &r&7{@ilesekund} &r&3sekund."
- cancel event
- stop
- set {czat.%player%.spam} to now
- stop
- on chat:
- replace all "kurwa" with "***" in the message
- replace all "kurwy" with "***" in the message
- replace all "chuje" with "***" in the message
- replace all "chuja" with "***" in the message
- replace all "chuj" with "***" in the message
- replace all "pierdolony" with "***" in the message
- replace all "pedal" with "***" in the message
- replace all "gej" with "***" in the message
- replace all "suka" with "***" in the message
- replace all "cipa" with "***" in the message
- replace all "pierdolona" with "***" in the message
- replace all "pojebalo" with "***" in the message
- replace all "zajebe" with "***" in the message
- replace all "debil" with "***" in the message
- replace all "zapierdole" with "***" in the message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement