Update sms.lua
This commit is contained in:
parent
9fbbf871f2
commit
e14bbb14c0
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue