variables: {pin.1} = 1 {pin.2} = 2 {pin.3} = 3 {pin.4} = 4 {pin.5} = 5 {pin.6} = 6 {pin.7} = 7 {pin.8} = 8 {pin.9} = 9 {pin.status.%player%} = false command /pin []: trigger: {pin.status.%player%} is true: if arg 1 is "%{pin.1}%%{pin.2}%%{pin.3}%%{pin.4}%%{pin.5}%%{pin.6}%%{pin.7}%%{pin.8}%%{pin.9}%": send "&aPIN zaakceptowany!" set {pin.status.%player%} to false if arg 1 is not "%{pin.1}%%{pin.2}%%{pin.3}%%{pin.4}%%{pin.5}%%{pin.6}%%{pin.7}%%{pin.8}%%{pin.9}%": send "&cPIN odrzucony!" {pin.status.%player%} is false: send "&cJuz wpisywales PIN!" on join: if player have permission "default.op" or "*": set {pin.status.%player%} to true stop player is op: set {pin.status.%player%} to true stop on command: if {pin.status.%player%} is true: if command is "l" or "login": cancel event send "&cNieprawidlowe haslo!" to player if command is "pin": stop