Update sms.lua

This commit is contained in:
Ale2610 2015-08-25 18:03:12 +02:00
parent 9fbbf871f2
commit e14bbb14c0

View file

@ -14,6 +14,10 @@ term.clear()
term.setCursorPos(1,1) term.setCursorPos(1,1)
term.setTextColor(colors.black) term.setTextColor(colors.black)
print("sPhone SMS") print("sPhone SMS")
if not fs.exists("/.sPhone/config/.sIDpw") then
sPhone.winOk("Sertex ID not set!","Run sID!", colors.lime, colors.green, colors.white, colors.lime)
return
end
f = fs.open("/.sPhone/config/username", "r") f = fs.open("/.sPhone/config/username", "r")
local user = f.readLine() local user = f.readLine()
f.close() f.close()