diff --git a/src/apps/sms.lua b/src/apps/sms.lua index ffd9be8..eb4a6cf 100644 --- a/src/apps/sms.lua +++ b/src/apps/sms.lua @@ -14,6 +14,10 @@ term.clear() term.setCursorPos(1,1) term.setTextColor(colors.black) 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") local user = f.readLine() f.close()