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.

Loop script
#2
You can start and stop a script with command of this.
Answer to a question of me
(12.10.2021, 12:22)admin Wrote: Simply create an event script attached to a 1-bit boolean object and put this into the editor.
Code:
enable = event.getvalue()
script.set('bedroom [fb], turn off', enable)

if im right, group adress '32/1/126' is the start and stop adres for this script?
you can add the script (of Admin) above in this group adres to start and stop this script,

I used the script like this
Code:
if lights_TM == true then
script.set('01.03 0 study (tm) (vertraging uit)', enable)
elseif lights_TM == false  then
script.set('01.03 0 study (tm) (vertraging uit)', disable)
end


and use your script you post here in a resident script.
Reply


Messages In This Thread
Loop script - by victor.back - 16.10.2021, 14:02
RE: Loop script - by Dré - 17.10.2021, 10:04
RE: Loop script - by victor.back - 18.10.2021, 12:57
RE: Loop script - by admin - 18.10.2021, 06:06

Forum Jump: