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.

Delaytime not os.sleep()
#4
For me the easiest solution is using Resident script. You can trigger resident script by some event.
Code:
grp.write('0/0/5', true)
os.sleep(10)
grp.write('0/0/5', false)

When you switch off the resident script it stops working without finishing script.
Reply


Messages In This Thread
Delaytime not os.sleep() - by d25m07y1993 - 16.05.2017, 14:14
RE: Delaytime not os.sleep() - by buuuudzik - 16.05.2017, 15:22
RE: Delaytime not os.sleep() - by d25m07y1993 - 16.05.2017, 15:50
RE: Delaytime not os.sleep() - by buuuudzik - 16.05.2017, 16:25
RE: Delaytime not os.sleep() - by admin - 16.05.2017, 17:09
RE: Delaytime not os.sleep() - by d25m07y1993 - 17.05.2017, 03:33

Forum Jump: