on join: if {kodip::%player%} is true: if player's ip is "%{ip::%player%}%": send "&aZostales automatycznie zalogowany" stop set {kod::%player%} to true on first join: set {wpiszswojkod::%player%} to true on quit: set {kod::%player%} to false on any move: if {kod::%player%} is true: cancel event if {wpiszswojkod::%player%} is true: cancel event on command: if {wpiszswojkod::%player%} is true: if command is not "mojkod": cancel event if {kod::%player%} is true: if command is not "kod": cancel event command /mojkod []: trigger: if {wpiszswojkod::%player%} is true: arg 1 is set: set {kod::gracza::%player%} to "%arg 1%" send "&cUstawiles swoj kod! jest to: &a%arg 1%" set {wpiszswojlod::%player%} to false arg 1 is not set: send "&cWpisz /mojkod " command /kod []: trigger: if {kod::%player%} is true: if arg 1 is "%{kod::gracza::%player%}%": set {kod::%player%} to false send "&aKod zostal zaakceptowany!" send "&aWpisz /kodip aby logowalo cie automatycznie!" arg 1 is not set: send "&cWpisz /kod " command /kodip: trigger: set {kodip::%player%} to true set {ip::%player%} to player's ip send "&aTwoje dane zostaly zapisane! gdy wejdziesz na tym samym IP bedzie cie logowalo automatycznie!"