command /chat []: permission: chat.admin trigger: if arg 1 is set: if arg 1 is "on" or "off" or "c" or "clear" or "info": if arg 1 is "on": set {c} to true if arg 1 is "off": set {c} to false if arg 1 is "c" or "clear": loop 100 times: broadcast "" stop broadcast "&e>> &aCzat zostal wyczyszczony przez &b%player%" if arg 1 is "info": loop 5 times: send "" to player stop send "&7====================" send "&a Autor: FilipKoxOOO" send "&2 Wersja 1.0" send "&7====================" stop on chat: if {c} is false: if player doesn't have permission "chat.admin": cancel event