Allow Logic Expression in Arguments

Is this switch to allow something like this image below?

How would I program the pseudo expression, if yes?

{(isNight ? 100 : 0)}

Thanks,

I’ve had quite a hiatus using PLEG; it has served well almost untouched for a couple years now. My controlled crapped out on me so I’m rebuilding with the latest version now, having been using an older version.

The updated version is terrific. Thanks so much for all your efforts to keep improving.