Search found 2 matches

by nalayh
Wednesday 24 February 2016 23:43
Forum: LUA
Topic: Can anybody help me?
Replies: 6
Views: 1274

Re: Can anybody help me?

Thank you very much, now I have this error:

script_security_panel-changes.lua:3: attempt to call global 'printlog' (a nil value)

If I comment printlog line, works fine.
by nalayh
Wednesday 24 February 2016 22:33
Forum: LUA
Topic: Can anybody help me?
Replies: 6
Views: 1274

Can anybody help me?

Hi, I need help with a simple lua script. I wan't to do a script that turn off all lights (scene) when I turn on Security panel (arm away) and turn on one light when I deactivated security panel. The first works fine but when I turn off the security panel doesn't happen. this is the script ...