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.

Store value
#3
(24.10.2023, 07:49)admin Wrote: You don't need to use storage in a single script, you can simply use variables:
Code:
value = 10
os.sleep(10)
log(value) -- will log 10

Your script does not work because you have two different storage keys (32/1/1 and 32/1/11). If you want to work with objects/group addresses then you need to use grp.write()/grp.update() to write values and grp.getvalue() to retrieve them.

Thank you!
Reply


Messages In This Thread
Store value - by AlexD - 24.10.2023, 07:44
RE: Store value - by admin - 24.10.2023, 07:49
RE: Store value - by AlexD - 24.10.2023, 08:19

Forum Jump: