variables: {chat} = true command /chatoff: trigger: if {chat} is true: set {chat} to false broadcast "&6Czat został wyłączony przez administratora &e%player%&6&l." stop else: send "&cCzat jest już wyłączony!" stop command /chaton: trigger: if {chat} is false: set {chat} to true broadcast "&6Czat został włączony przez administratora &e%player%&6&l." stop else: send "&cCzat jest już włączony!" stop on chat: if {chat} is false: cancel event send "&cCzat jest obecnie wyłączony!" stop