Update sID.lua

This commit is contained in:
Ale2610 2015-08-29 16:13:05 +02:00
parent 8b47895243
commit a18a84edcf

View file

@ -36,17 +36,35 @@ if isDown ~= "true" then
return
end
if fs.exists("/.sPhone/config/.sIDpw") then
local function login()
end
local function register()
end
while true do
if fs.exists("/.sPhone/config/.sIDpw") then
menu = {
"Logout",
}
_, id = ui.menu("Sertex ID")
else
if id == 1 then
fs.delete("/.sPhone/config/.sIDpw")
end
else
menu = {
"Login",
"New Account",
"Register",
}
_, id = ui.menu("Sertex ID")
if id == 1 then
login()
elseif id == 2 then
register()
end
end
end
header()