variables: {chat} = false on chat: if {chat} is true: if player has permission "vip.pisz": stop else: cancel event send "&cChat jest wylaczony!" command /chat []: permission: chat.* permission message: &cCo ty chcesz zrobic? trigger: if arg 1 is not set: send "&cAle ja nie wiem co mam zrobic :/" if arg 1 is "off": set {chat} to true broadcast "&7Administrator &e%player% &cwylaczyl&7 chat!" if arg 1 is "on": set {chat} to false broadcast "&7Administrator &e%player%&a wlaczyl&7 chat!" if arg 1 is "cc" or "c": loop 100 times: broadcast "" broadcast "&7Administrator &e%player%&9 wyczyscil&7 chat!" if arg 1 is "help" or "pomoc": send "&9Komendy:" send "&c/chat off&7 -&e wylacza chat" send "&c/chat on&7 - &ewlacza chat" send "&c/chat cc lub c&7 - &eczysci chat" send "&cAutorem skryptu jest&4 xKoszton" stop