I'm trying to set up my own profile for my X-Touch to use with a couple planes but currently focusing on the PMDG 737. What I'd like to do is assign one button to turn on the lights for engine start (beacon only), one for taxi lights (beacon, taxi, runway turn maybe) and one for takeoff (basically everything). I'd like each button to switch the lights to specific states, for example, after landing I want to go from takeoff light config to taxi light config. I can't seem to find a tutorial or even any suggestion for how to do this. I'm assuming the correct way would be to create a script that sets each desired state and then assign this new script to a button push. I've been going through all the pre-made scripts that I can find and I see lots of "toggle" scripts for lights and a few "set" scripts. The set scripts don't seem to be doing anything and while the toggle scripts work they won't work for my purpose since going from say taxi to take off would then again toggle the taxi lights to the wrong position.
I'm also not great with coding/scripting in general but I can follow instructiosn well and usually can figure out how to modify stuff. Any help would be greatly appreciated!