command /wchat []: permission: chat.wiewi.onoff permission message:&8>> &cNie masz permisji do użycia tej komendy! trigger: if arg 1 is set: if arg 1 is "on" or "off": arg 1 is "on": send "&8>> &aWlaczyles &9czat!" broadcast "&8>> &9 Gracz &c&l%player% &a&lWłączył &9czat!" set {chat.status} to true if arg 1 is "off": send "&8>> &4Wylaczyles &9czat!" broadcast "&7>> &9Gracz &c&l%player% &4&lWylączył &9czat!" set {chat.status} to false send "&8>> &cUżycie&3 /wchat on/off" stop on chat: if player don't have permission "chat.wiewi.pisanie": if {chat.status} is false: cancel event send "&8>> &9Chat jest obecnie &4&lWyłączony&9!" stop