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
|
else
|
||||||
sendTo = tArgs[1]
|
sendTo = tArgs[1]
|
||||||
end
|
end
|
||||||
|
if sendTo == "" then
|
||||||
|
local getAllSMS = true
|
||||||
|
end
|
||||||
local doesUserExist = http.post(server.."exists.php", "user="..sendTo).readAll()
|
local doesUserExist = http.post(server.."exists.php", "user="..sendTo).readAll()
|
||||||
if doesUserExist ~= "true" then
|
if doesUserExist ~= "true" then
|
||||||
sPhone.winOk(sendTo.." does","not exist!", colors.lime, colors.green, colors.white, colors.lime)
|
sPhone.winOk(sendTo.." does","not exist!", colors.lime, colors.green, colors.white, colors.lime)
|
||||||
|
@ -71,9 +74,6 @@ while true do
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if sendTo == "" then
|
|
||||||
local getAllSMS = true
|
|
||||||
end
|
|
||||||
term.clear()
|
term.clear()
|
||||||
local x,y = term.getSize()
|
local x,y = term.getSize()
|
||||||
local mainTerm = term.current()
|
local mainTerm = term.current()
|
||||||
|
|
Loading…
Reference in a new issue