Update sPhone.lua

This commit is contained in:
Ale2610 2015-08-25 17:46:25 +02:00
parent d59e664d27
commit d70b06dd49

View file

@ -379,6 +379,9 @@ local function kernel()
end end
end end
else else
local name
local pw
local pwr
while true do while true do
term.clear() term.clear()
term.setCursorPos(1,1) term.setCursorPos(1,1)
@ -454,16 +457,16 @@ local function kernel()
sertextext.center(3," Setup Sertex ID") sertextext.center(3," Setup Sertex ID")
sertextext.center(7," Your Username") sertextext.center(7," Your Username")
term.setCursorPos(3,8) term.setCursorPos(3,8)
local name = read() name = read()
while true do while true do
sertextext.center(9, " Your Password") sertextext.center(9, " Your Password")
term.setCursorPos(3,10) term.setCursorPos(3,10)
term.clearLine() term.clearLine()
local pw = read("*") pw = read("*")
sertextext.center(11, " Repeat") sertextext.center(11, " Repeat")
term.setCursorPos(3,12) term.setCursorPos(3,12)
term.clearLine() term.clearLine()
local pwr = read("*") pwr = read("*")
if pw == pwr then if pw == pwr then
break break
else else