#Skrypt na czat by ByczekTV # options: tag:&a&lSkyCraft variables: {chat} = true command /on: trigger: if player has permission "chat.on": if {chat} is false: set {chat} to true send "&2Administrator &6%player%&2 wlaczyl czat!" to all players else: send "&cCzat jest juz wlaczony!" to player else: send "&cNie masz odpowiednich uprawnien." to player command /off: trigger: if player has permission "chat.off": if {chat} is true: set {chat} to false send "&2Administrator &6%player%&2 wylaczyl czat!" to all players else: send "&cCzat jest juz wylaczony!" to player else: send "&cNie masz odpowiednich uprawnien." to player command /cc: trigger: loop 200 times: broadcast "" send " {@tag}" to all players send "&2Chat zostal wyczyszczony przez &c%player%" to all players on chat: if {chat} is false: cancel event send "&c&lCzat jest aktualnie wylaczony!" to player