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.

General command script
#7
admin script would do this but here is version for beginners Wink
Code:
fMode1 = grp.getvalue('1/1/1')
fMode2 = grp.getvalue('1/2/1')

if (fMode1 == 1 and fMode2 == 1) then
 
  grp.checkwrite('32/1/6', 1)
 
else
 
  grp.checkwrite('32/1/6', 0)
 
end 

if (fMode1 == 2 and fMode2 == 2) then
 
  grp.checkwrite('32/1/7', 1)
   
else
   
   grp.checkwrite('32/1/7', 0)
 
end
------------------------------
Ctrl+F5
Reply


Messages In This Thread
General command script - by svetoslavp - 17.02.2021, 13:11
RE: General command script - by Daniel - 17.02.2021, 13:43
RE: General command script - by svetoslavp - 17.02.2021, 14:24
RE: General command script - by Daniel - 17.02.2021, 14:36
RE: General command script - by admin - 17.02.2021, 14:40
RE: General command script - by svetoslavp - 17.02.2021, 15:08
RE: General command script - by svetoslavp - 17.02.2021, 14:48
RE: General command script - by Daniel - 17.02.2021, 15:02

Forum Jump: