# GOD - Taki jak na CraftCore! # variables: {god::%player%} = false command /god [] []: trigger: if player has permissions "core.cmd.god": if arg 1 is set: if arg 2 is not set: if {god::%player%} = false: set {god::%player%} to true send "&9»&3Wlaczono goda!" stop if {god::%player%} = true: set {god::%player%} to false send "&9»&3Wylaczono goda!" stop if arg 2 is set: if {god::%arg 2%} = false: set {god::%arg 2%} to true send "&9»&3Wlaczono goda dla %arg 2%!" stop if {god::%arg 2%} = true: set {god::%arg 2%} to false send "&9»&3Wylaczono goda dla %arg 2%!" stop if arg 1 is not set: send "&9»&3Prawidlowe uzycie: /god " stop else: send "&9»&cNie masz uprawnien!" stop on damage: if {god::%victim%} = true: heal victim every 1 second: loop all players: if {god::%loop-player%} = true: apply resistance of tier 100 to the player for 666 seconds