I have spent this weekend making crank calls on my free IP phone and messing around with my multi-zone system. I have one problem (in addition to angry people being bugged...), and that is Line-In volume (used with an external TV card to get the TV sound through any zone at any time). The LUA is this:
And the error is this:Code:if GetLine-InMute (CC00) == 0 then SetLine-InMute (1) else end
I know why it's happening: LUA can't handle a dash as a part of a variable, so this would probably happen with spaces as well, they will be taken as two variables (how do I for instance mute CD Digital?). But how do I mark it as part of the variable?Code:error: `=' expected; last token read: `-' at line 2 in string "?"


Reply With Quote