variables: {Chat} = true {ACL} = true #Cenuzra Czatu on chat: replace all "kurwa" in message with "mama" #Czat wlacz/wylacz/wyczysc command /czat [] []: permission: czat.* permission message: &8[&f&lINFO&cCzat&8]&4Nie masz uprawnien! trigger: if arg 1 is "wyczysc": loop 99 times: broadcast "" broadcast "&8[&f&lINFO&cCzat&8]&4Chat zostal wyczyszczony przez &f%player%" if arg 1 is "wlacz": if {chat} is false: set {chat} to true broadcast "&8[&f&lINFO&cCzat&8] &aChat zostal wlaczony przez &4%player%" stop if arg 1 is "wylacz": if {chat} is true: set {chat} to false broadcast "&8[&f&lINFO&cCzat&8] &aChat zostal wylaczony przez &4%player%" stop if arg 1 is not set: send "&8[&f&lINFO&cCzat&8] Poprawne uzycie komendy /czat " on chat: if {chat} is false: if player has permission "czat.*": stop else: cancel event send "&8[&f&lINFO&cCzat&8] &2Chat aktualnie jest wylaczony" #AntyReklama on chat: if player not has permission "czat.*" message contains ".pl" or ".com" or ".eu" or ".net" or ".csrv" or ".us" or ".ench" or ".de" or "serv.nu" or ".ench" or ".tsrv" or "mc." or "www" or "gg" or "ts" or "zapraszam na serwer" or "aternos.me" cancel event execute console command "helpop %player% %message% [Przypuszczenie reklamy]":