Ok... below are the events that allow you to control the two Maddog switches of the APU Bus with a single physical switch:
An Output with Timer:
(L:ApuBusSwitches) if{ (L:MyTimer) 0 == if{ (E:SIMULATION TIME, second) (>L:MyTimer) 536870912 34 + (>L:overhead_event,number) } els{ (E:SIMULATION TIME , second) (L:MyTimer) - 0.1 > if{ 536870912 35 + (>L:overhead_event,number) 0 (>L:ApuBusSwitches) 0 (>L:MyTimer) }
An Input with the physical Switch to operate:
(L:ApuBusSwitches) ! (>L:ApuBusSwitches)
(I tried it now and it works even after years ๐ (thanks to @inland pewter))
At this point just replace the code with the parameters of the devices to be driven:
instead "L:ApuBusSwitches" create a new your Lvar: "L:ExternalLightsSwitches"
instead L:MyTimer create a new Lvar like L:MyTimer2
This to avoid to have two vars with the same name
and change 536870912 34 to ...Lights operating numbers...
Unfortunately it's dinner time here soon and I have to give up.
Let me know if you can configure it or I'll try to do it as soon as possible.