on command: if {command} is false: if player don't have permission "komendy.unlock": cancel event send "&cKomendy sa wylaczone!" command /wc []: permission: komendy.player trigger: if arg 1 is "on": set {command} to true if arg 1 is "off": set {command} to false if arg 1 is not set: send "&7Poprawne uzycie /wc on/off"