variables: {nether} = true {end} = true player is in the world "world_nether": if {nether} is false: if player has permission "access.nether": stop else: execute console command "/spawn %player%" send "&5&kP&6&l KiziulMC &5&kP&c Nether jest wylaczony!" else: stop else: player is in the world "world_the_end": if {end} is false: if player has permission "access.end": stop else: execute console command "/spawn %player%" send "&5&kP&6&l KiziulMC &5&kP&c End jest wylaczony!" else: stop command /disable []: trigger: if arg 1 is set: if arg 1 is "nether": if player has permission "toggle.nether": set {nether} to false stop else: send "&5&kP&6&l KiziulMC &5&kP&c Nie masz uprawnien!" stop else: if arg 1 is "end": if player has permission "toggle.end": set {end} to false stop else: send "&5&kP&6&l KiziulMC &5&kP&c Nie masz uprawnien!" stop send "&cUzycie: &4/disable " stop else: send "&cUzycie: &4/disable " stop