=============== Cenzura 1.5 Wersja: 1.5 Autor: ivall =============== command /cenzura: trigger: send "&b/c &aCzysci chat" to player send "&a/chat on/off ON - Włącza chat | OFF - Wyłącza chat send "&e/przeklenstwa dodaj/usun/lista | dodaj - dodaje cenzure / usun - usuwa cenzure / lista - zacenzurowane slowa command /c: permission: cenzura.czysc trigger: loop 100 times: broadcast " " broadcast "&3Chat został wyczyszczony" command /chat : permission: cenzura.offon trigger: if argument 1 is "off": set {cenzura.chatoff} to false broadcast "&4Chat zostal wylaczony przez &e%player%" if argument 1 is "on": set {cenzura.chaton} to true broadcast "&aChat zostal wlaczony przez &e%player%" on chat: if {cenzura.chatoff} is false: cancel event send "&c&lChat jest aktualnie wylaczony!" stop command /przeklenstwa [] []: trigger: player has permission "przeklenstwa.*": arg 1 is "dodaj": arg 2 is set: add arg 2 to {przeklenstwa::*} send "&2Slowo &c%arg 2%&7 dodane do cenzury." else: send "&cUzycie: &e/przeklenstwa dodaj " arg 1 is "usun": arg 2 is set: remove arg 2 from {przeklenstwa::*} send "&2Slowo &c%arg 2%&7 zostalo usuniete z cenzury." else: send "&cUzycie: &e/przeklenstwa usun " arg 1 is "lista": send "&7Cenzury &8[%size of {przeklenstwa::*}%]&7: &c%{przeklenstwa::*}%" else: send "&4&lBrak uprawnien." on chat: loop {przeklenstwa::*}: replace "%loop-value-1%" with "****" in message