but then the light goes on when the masterswitch is flipped, since the multisource targets the relay, which targets the light.
But this is not what i want to happen, the normal lightswitches should only work when the masterswitch is activated, and stop working when it is deactivated.
BUT i finally figured it out: i let the masterswitch target a trigger_relay (trigger state=toggle), and the trigger targets the multisource. When the button is activated, the source is on, when the button is deactivated, the source is off.
thanks anyhow people