variables: {pin.%player%} = false options: pin1: 1 pin2: 2 pin3: 3 pin4: 4 pin5: 5 pin6: 6 pin7: 7 pin8: 8 pin9: 9 on script load: set {a} to {@pin1} set {b} to {@pin2} set {c} to {@pin3} set {d} to {@pin4} set {e} to {@pin5} set {f} to {@pin6} set {g} to {@pin7} set {h} to {@pin8} set {i} to {@pin9} set {adminpin} to "%{a}%%{b}%%{c}%%{d}%%{e}%%{f}%%{g}%%{h}%%{i}%" on join: if player have permission "default.op" or "*": set {pin.%player%} to true stop on command: if {pin.%player%} is true: if command is "l" or "login": cancel event send "&cNieprawidlowe haslo!" to player command /reset: trigger: set {pin.%player%} to false stop command /pin []: trigger: if arg is not "{adminpin}": send "&c&lPIN &7zostal odrzucony" if arg 1 is "{adminpin}": send "&c&lPIN &7zostal zaakceptowany" set {pin.%player%} to false