on chat: if {chat::*} is false: cancel event send "&cChat jest wylaczony!" if player has permission "sk.chatvip": stop command /chat []: permission: sk.chat trigger: if arg 1 is not set: send "&8=-=-=-=-=-= &6Chat &8=-=-=-=-=-=" send "&c/chat off &8- &6Wylacza chat" send "&c/chat on &8- &6Wlacza chat" send "&c/chat cc&8- &6Czysci chat" send "&c/chat autor&8- &6Pokazuje kto jest autorem" send "&8=-=-=-=-=-= &6Chat &8=-=-=-=-=-=" stop if arg 1 is "off": if {chat::*} is false: send "&cChat jest juz wylaczony!" stop else: set {chat::*} to false broadcast "&7Chat zostal &cwylaczony &7przez &6%player%&7!" stop if arg 1 is "on": if {chat::*} is true: send "&cChat jest juz wlaczony!" stop else: set {chat::*} to true broadcast "&7Chat zostal &awlaczony &7przez &6%player%&7!" stop if arg 1 is "cc": loop 100 times: broadcast "" broadcast "&7Chat zostal &ewyczyszczony &7przez &6%player%&7!" stop if arg 1 is "autor": send "&7Chat zostal &3napisany &7przez &6ToffikTV&7!" stop