on portal: if {portal.stan} is false: cancel event send "&7>> &5Portal &7akutalnie jest &4wylaczony&7." stop command /portal [] []: trigger: if player has permission "portal.edycja": if arg 1 is "on": set {portal.stan} to true send "&2Wlaczyles &5portal &7na serverze." broadcast "&5Portale &7zostaly &2wlaczone&7." stop if arg 1 is "off": set {portal.stan} to false send "&4Wylaczyles &5portal &7na serverze." broadcast "&5Portale &7zostaly &4wylaczone&7." stop