The code is just a bit difficult for me to read because I'm not familiar with some of the tools, such as the SFLP command.
But it's true, AS language is powerful, precisely because it's easier to reach your goal with the individual tools than with conventional programming languages. But you have to know when to use the right tools.
I'm also not always sure whether I've chosen the easiest way or whether the code could be written even shorter.
The forum is perfect for that, thanks for your help!