on chat: if {chat::status} is false: if player has permission "chat.pisanie": stop cancel event command /chat [] []: permission: Chat.Sk permission message: &4Blad: &7Nie masz dostepu do tej komendy! aliases: c, cc, czat trigger: if arg 1 is "on": set {chat::status} to true broadcast "&8» &eChat zostal wlaczony przez &c%player%&e!" else if arg 1 is "off": set {chat::status} to false broadcast "&8» &eChat zostal wylaczony przez &c%player%&e!" else if arg 1 is "cc": loop 100 times: send "" to all players send "&eChat zostal wyczyszczony przez &c%player%" to all players stop else: send "&6CC &7- &eczysczenie chatu" send "&6ON &7- &ewlaczanie chatu" send "&6OFF &7- &ewylaczanie chatu" send "&7STATUS:&c %{chat::status}%"