From 05157887fc076272a98058ce0a98a9d6c952e366 Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Tue, 25 Aug 2015 18:07:26 +0200 Subject: [PATCH] Update sertexID.lua --- src/apps/system/sertexID.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/apps/system/sertexID.lua b/src/apps/system/sertexID.lua index bb3bc13..bdc6da2 100644 --- a/src/apps/system/sertexID.lua +++ b/src/apps/system/sertexID.lua @@ -20,3 +20,18 @@ local function header() end header() + +if fs.exists("/.sPhone/config/.sIDpw") then + sPhone.winOk("Sertex ID", "Already Set!") + return +end +while true do + header() + + term.setCursorPos(1,4) + print(" Set Sertex ID") + write(" Username: ") + local name = read() + local nExists = http.post("http://sertex.esy.es/exists.php", "user="..name).readAll() + --later +end