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.

Need Help with Lua Script for Group Object Control
#3
Problems with your script:
1. currentStatus is most likely Boolean and comparing it with 0 won't work because it's true/false. You can simply write it as if currentStatus then instead.
2. Use os.sleep(seconds) instead of os.execute().
3. There's no grp.setvalue() function - it is called grp.write()
Reply


Messages In This Thread
RE: Need Help with Lua Script for Group Object Control - by admin - 17.07.2023, 08:37

Forum Jump: