#Autor: Kulegg #Zakaz podszywania sie pod autora, variables: {haslo.%player%} = 0 {zalogowany.%player%} = 0 on first join: set {zalogowany.%player%} to 0 on join: set {zalogowany.%player%} to 0 on any move: if {zalogowany.%player%} is 0: cancel event on chat: if {zalogowany.%player%} is 0: cancel event send "&c[&akLogin+&c]&7 Zaloguj sie lub zarejestruj: /rej haslo, /log haslo" command /rej []: trigger: if {haslo.%player%} is 0: set {haslo.%player%} to "%argument 1%" set {zalogowany.%player%} to 1 else: send "&c[&akLogin+&c]&7To konto jest już zarejestrowane !" command /log []: trigger: if arg 1 is not set: send "&c[&akLogin+&c]&7 Zaloguj sie za pomocą: /log haslo" if {haslo.%player%} is 0: send "&c[&akLogin+&c]&7 Zarejestruj sie za pomocą: /rej haslo" if arg 1 is "%{haslo.%player%}%": set {zalogowany.%player%} to 1 send "&c[&akLogin+&c]&7 Zalogowano!" else: send "&c[&akLogin+&c]&7 Złe hasło!" on drop: if {zalogowany.%player%} is 0: cancel event on command: if {zalogowany.%player%} is 0: if command is not "rej" or "log": cancel event every 5 seconds: loop all players: if {zalogowany.%loop-player%} is 0: send "&c[&akLogin+&c]&7 Zaloguj sie lub zarejestruj: /rej haslo, /log haslo" to loop-player