on join: if player is op: if player has permission "*": set {pin::%player%} to true send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin " to loop-player else: if player has permission "*": set {pin::%player%} to true send "&f&lSERVER&9&lPVP&7&l.EU&4&l>> &7Prosze podac PIN: &c/pin " to loop-player else: if player is op: set {pin::%player%} to true send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin " to loop-player options: pin: 891552081 on quit: clear {pin::%player%} every 1 seconds: loop all players: if loop-player is op: if loop-player has permission "*": if {pin::%loop-player%} is not set: set {pin::%loop-player%} to true send "&f&lSERVER&9&lPVP&7&l.EU &7Prosze podac PIN: &c/pin " to loop-player else: if loop-player is op: if {pin::%loop-player%} is not set: set {pin::%loop-player%} to true send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin " to loop-player else: if loop-player has permission "*": if {pin::%loop-player%} is not set: set {pin::%loop-player%} to true send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin " to loop-player command /pin []: trigger: arg 1 is "{@pin}": set {pin::%player%} to false send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &eZyczymy dobrego dowodzenia w administrowaniu !" on command: if {pin::%player%} is true: if command is not "pin" or "login" or "register" or "l": cancel event send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin " on break: if {pin::%player%} is true: cancel event send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin " on place: if {pin::%player%} is true: cancel event send "&f&lSERVER&9&lPVP&7&l.EU &4&l>> &7Prosze podac PIN: &c/pin "