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.

Help
#5
(09.08.2017, 18:26)kostal.borek Wrote: Hi all, please help, I have a script with two conditions and I need the script to start working if the first condition is false and the other true. For example...

Twilight = grp.getvalue("9/1/2") 
ObjA = grp.getvalue("9/2/100")  

if Twiligt false and ObjA == true then

Where am I making a mistake?

Thanks

Hi Kostal,
First make sure that 9/1/2 and 9/2/100 are booleans. Then try this :

Code:
Twilight = grp.getvalue('9/1/2')
ObjA = grp.getvalue('9/2/100')  

if (Twiligt == false and ObjA == true) then
--do something
end


Chouaibou.
Reply


Messages In This Thread
Help - by kostal.borek - 09.08.2017, 18:26
RE: Help - by buuuudzik - 09.08.2017, 18:40
RE: Help - by kostal.borek - 09.08.2017, 20:23
RE: Help - by buuuudzik - 09.08.2017, 21:02
RE: Help - by CHOUAIBOU - 10.08.2017, 02:19
RE: Help - by kostal.borek - 16.08.2017, 10:48

Forum Jump: