- Code: Select all
if value of variable "HomeAway" is "away" then
execute group "Security HOME"
else if value of variable "HomeAway" is "home" then
execute group "Security Away"
end if
But when I Compile or Save As Script I get this:
Syntax Error
Expected "then", etc. but found "".
With the first " highlighted