From e14bbb14c0943425be0b045eabce3d4aea98b3c4 Mon Sep 17 00:00:00 2001 From: Ale2610 Date: Tue, 25 Aug 2015 18:03:12 +0200 Subject: [PATCH] Update sms.lua --- src/apps/sms.lua | 4 ++++ 1 file changed, 4 insertions(+) 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()