Thanks for the tips,
Sorry I should have clarified that I have been using lua with AirManager and FlyWithLua for a while to animate gauges and work with timers/buttons etc
I guess my subconscious didn't register it as important information as I am self aware about how little I know, alot of the tasks I do with it are variations of what I have already done before
I will take onboard your suggestion and focus on learning more about the language.
Are there any example scripts I can try and digest to build my understanding?
The thing that sparked my questions was trying some of the examples people had posted (which worked at the time of posting) and they either spat out errors or crashed xplane