This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Modify a small sms script
#3
Thanks.

Then i will write it like this:

if event.getvalue() == false then

require('user.sms')
sendsms('12345678', 'test sms')

Do i need to have a closure to the script in Lua, or is this not a normal practice? like:
if not then: exit

Okay. I just found out how it works. I need an "end" at the end Smile

if event.getvalue() == false then
require('user.sms')
sendsms('12345678', 'test sms')
end

When i run the script, i get a popup on my ipad with Visu.

It says

http://192.168.1.99
sending sms: 12345678 test sms

And i then have to press a OK button.

How to remove this message on visu?
Reply


Messages In This Thread
Modify a small sms script - by Kai-Roger - 16.10.2018, 11:53
RE: Modify a small sms script - by admin - 16.10.2018, 12:04
RE: Modify a small sms script - by Kai-Roger - 16.10.2018, 12:12
RE: Modify a small sms script - by Kai-Roger - 16.10.2018, 22:12
RE: Modify a small sms script - by Kai-Roger - 17.10.2018, 07:18

Forum Jump: