Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #-----------------#
- # 2k-Chat #
- # Zelusiowy #
- #-----------------#
- # Zakaaz #
- # kopiowania #
- #-----------------#
- # v.1.2 #
- #-----------------#
- # Dostepne permissje do skryptu/komendy :
- # 2k-chat.on - komenda /chat on
- # 2k-chat.off - komenda /chat off
- # 2k-chat.clear - komenda /chat clear
- # 2k-chat.write - pozwala na pisanie przy wylaczonym czacie
- # 2k-chat.write2 - pozwala na pisanie zawsze i ciągle
- options:
- tag: &bDark&c&lCraft # Nazwa Servera
- ilesekund: 5 # Co ile sekund bedzie mozna pisac
- variables:
- {chat} = true
- command /chat [<text>]:
- trigger:
- if arg 1 is not set:
- send "&8######## &72k-Chat &8######## "
- send "&6/chat on &7- wlacza chat"
- send "&6/chat off &7- wylacza chat"
- send "&6/chat clear &7- czysci chat"
- send " "
- send "&8----------------------------- "
- send " "
- send "&6Autor: &7Zelusiowy"
- if arg 1 is "on":
- if {chat} is false:
- if player has permission "2k-chat.on":
- set {chat} to true
- broadcast ""
- broadcast " {@tag}"
- broadcast "&7Chat zostal &aWlaczony"
- broadcast ""
- stop
- else:
- send "&7Nie masz &auprawnienia&7 do tej komendy !"
- stop
- else:
- send "&7Chat jest juz &aWlaczony"
- stop
- if arg 1 is "off":
- if {chat} is true:
- if player has permission "2k-chat.off":
- set {chat} to false
- broadcast ""
- broadcast " {@tag}"
- broadcast "&7Chat zostal &aWylaczony"
- broadcast ""
- stop
- else:
- send "&7Nie masz &auprawnienia&7 do tej komendy !"
- stop
- else:
- send "&7Chat jest juz &aWylaczony"
- stop
- if arg 1 is "clear":
- if player has permission "2k-chat.clear":
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast ""
- broadcast " {@tag}"
- broadcast "&7Chat zostal &aWyczyszczony"
- broadcast ""
- stop
- else:
- send "&7Nie masz &auprawnienia&7 do tej komendy !"
- stop
- on chat:
- if {chat} is false:
- if player has permission "2k-chat.write":
- stop
- else:
- cancel event
- send "&7Chat jest aktualnie &aWylaczony!"
- stop
- else:
- if player has permission "2k-chat.write2":
- stop
- set {_waited} to difference between {2k-chat.%player%.spam} and now
- if {_waited} is less than 3 real seconds seconds:
- send "&7Nastepna&a wiadomosc&7 bedziesz mogl wyslac za &c{@3} sekundy"
- cancel event
- stop
- set {2k-chat.%player%.spam} to now
- stop
- on chat:
- replace all "kurwa" with "k***a" in the message
- replace all "chuj" with "c**j" in the message
- replace all "pierdolony" with "p********y" in the message
- replace all "pedal" with "p***l" in the message
- replace all "gej" with "g*j" in the message
- replace all "suka" with "s**a" in the message
- replace all "cipa" with "c**a" in the message
- replace all "dupa" with "d**a" in the message
- replace all "pierdolona" with "pi*******a" in the message
- replace all "pojebalo" with "p*****lo" in the message
- replace all "zajebe cie" with "z****e cie" in the message
- replace all "debil" with "d***l" in the message
- on chat:
- if player is not op:
- replace all "A" with "a" in the message
- replace all "B" with "b" in the message
- replace all "C" with "c" in the message
- replace all "D" with "d" in the message
- replace all "E" with "e" in the message
- replace all "F" with "f" in the message
- replace all "G" with "g" in the message
- replace all "H" with "h" in the message
- replace all "I" with "i" in the message
- replace all "J" with "j" in the message
- replace all "K" with "k" in the message
- replace all "L" with "l" in the message
- replace all "M" with "m" in the message
- replace all "N" with "n" in the message
- replace all "O" with "o" in the message
- replace all "P" with "p" in the message
- replace all "R" with "r" in the message
- replace all "S" with "s" in the message
- replace all "T" with "t" in the message
- replace all "U" with "u" in the message
- replace all "W" with "w" in the message
- replace all "Y" with "y" in the message
- replace all "Z" with "z" in the message
- on chat:
- replace all "wbijac na moj server" with "mc.darkcraft.pl" in the message
- replace all "IP mojego servera" with "mc.darkcraft.pl" in the message
- replace all "zapraszam na moj server" with "mc.darkcraft.pl" in the message
- replace all "zapraszam na server mojego kolegi" with "mc.darkcraft.pl" in the message
- replace all "moj server IP:" with "mc.darkcraft.pl" in the message
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement