Create L vars from A vars

Hello.
I’m using the analog KingAir on the MSF2020, I’d like to make my own CircuitBreakers panel, FSUIPC7 only has a few available. And this plane only has the Avionics Relay available in L:var. I’m interested in being able to convert the landing gear Relay which has the following structure to L:var:

(This information was taken from Devmode - Tools - Behaviors)

This is presented when the Relay is pushed:

1 Load int constant 20
2 Load int constant 13
3 (>A: BUS LOOKUP INDEX:1) (13)
4 (A:CIRCUIT CONNECTION ON:37)
5 => Loads value 1.
6 Load int constant 100
7 * (1., 100)
8 - (20, 100)

This is presented when the Relay is pulled:

1 Load int constant 20
2 Load int constant 13
3 (>A: BUS LOOKUP INDEX:1) (13)
4 (A:CIRCUIT CONNECTION ON:37)
5 => Loads value 0.
6 Load int constant 100
7 * (0., 100)
8 - (20, 0)

What I want is to convert this information into a variable (L:Landig_Gear_Relay).

Any help you can provide would be greatly appreciated.