"if" ?
Randal T Long
randalt at ideasokc.com
Thu Aug 18 22:11:04 PDT 2005
Hi Charlie,
I am not sure but you might try reversing the script language.
Like -
>
> if "Sunset" is false then
> block "Driveway Spotlight"
> end if
On Aug 18, 2005, at 8:05 PM, Charlie Pendleton wrote:
> I created a pseudo called "Sunset" that I turn off and on with the
> Sunset and Sunrise scripts.
>
> The on scripts for the motion detector has:
>
> if "Sunset" is true then
> unblock "Driveway Spotlight"
> end if
>
> then the "Try" routine comes next.
>
> The if statement doesn't do boo. I see the "on" for the motion
> enter the DB, but the blocked spotlight does not unblock. If I
> comment out the "if" portion the unblock works. What am i doing
> wrong? Should I be incorporating the "if" within the "try" routine?
>
More information about the XTensionlist
mailing list