Type it in and then it take commands and put them into order automatically from what you typed
How would any AI system know "the order" in which you wanted the commands to be obeyed?
Take these forums as an example. There are many posts about issues with Trainz that leave out crucial details such as the program build number, OS (including Steam), <kuid> of affected assets, how the asset is being used, etc, etc. We, the readers of these posts, are often forced to make guesses as to what the poster actually means. Often those guesses are way off the mark.
I appreciate that there are factors such as language difficulties and posting "in frustration" that can cause "translation errors" but if someone cannot clearly describe the problem that has to be solved, then how could an AI produce a working solution?
I suspect that one problem is misunderstandings of the term "AI", particularly the "I" part. Most (if not all??) of the current crop of AI systems (ChatGPT, Open AI, Copilot, etc) use LLM, Large Language Models, to pick out the best solution from a vast "database" of known examples. There is no actual intelligence, and certainly no consciousness, involved in the process and, from descriptions of that process, there is a lot of trial and error on the part of the user. Many hours or even days can be needed in refining the instructions given to the "AI" before a workable solution can be produced (i.e. a zebra that has only 4 legs).
These "AI" methods have been around for many many years but at a much simpler and slower level. For a project in my Masters degree about 20 years ago I created a digital "expert system" that was able to solve simple problems in a very specific area - identifying whales from typed descriptions.
The time taken in refining the instructions for getting a list of Trainz driver commands into a correct order may very well be longer than the time that would have been taken by manually testing and debugging the command list yourself.