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
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?
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
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?