Hi Pete, there is also a Status block which allows 4 inputs which can then be compared with basic logic and output both text and a number (or on/off) on the fist match.
The other useful block in building your own logic is the analogue memory block. This allows you to hold a value and trigger it out later.
Thanks Rob for identifying the new Sequential Controller - looks interesting.
You can achieve a lot with the Loxone blocks but it can get pretty complex. Ideally keep the logic a simple as possible for both maintenance, and the end user.
If you need real complex logic it is often best to do it outside of Loxone. I send virtual outputs to Home Automation (HASSIO) which can then respond back to Loxone, and handle any Alexa / Google / TP Link plugs / Shelly / etc integrations. The logic in Home Automation is YAML and more like If this then that, but also you can build small Python routines or App Demon Python processes. Overall very powerful (and free). Again a good community support group.
Have fun Pete, and do ask again if you have other questions.
This is a very helpful group.
Cheers David