Update sms.lua
This commit is contained in:
parent
a9b16c6108
commit
9399455424
1 changed files with 3 additions and 3 deletions
|
@ -54,6 +54,9 @@ while true do
|
|||
else
|
||||
sendTo = tArgs[1]
|
||||
end
|
||||
if sendTo == "" then
|
||||
local getAllSMS = true
|
||||
end
|
||||
local doesUserExist = http.post(server.."exists.php", "user="..sendTo).readAll()
|
||||
if doesUserExist ~= "true" then
|
||||
sPhone.winOk(sendTo.." does","not exist!", colors.lime, colors.green, colors.white, colors.lime)
|
||||
|
@ -71,9 +74,6 @@ while true do
|
|||
return
|
||||
end
|
||||
end
|
||||
if sendTo == "" then
|
||||
local getAllSMS = true
|
||||
end
|
||||
term.clear()
|
||||
local x,y = term.getSize()
|
||||
local mainTerm = term.current()
|
||||
|
|
Loading…
Reference in a new issue