TMC wrote:I don't know what that has to do with for-each loops.
Uhm, nothing, I just wrote an example for a list-comparison without thinking too much. I was on lunch-break...
TMC wrote:CPUs can perform billions of instructions per second (...)
My fears are more about limits in the script-execution itself, I know it is compiled (into what...? And is it than still technically a 'script'?), and the code should be through in one tick, but since I really do not know, I figured I better ask
Bob the Hamster wrote: Don't worry (...), I have this in one of my scripts:
Yes, that actually puts me quite at ease
The text-input usecase was just an example I knew will become relevant shortly, so I actually haven't decided on implementation, but you are right, some short comparisons will do nicely.
But there will be more situations like that similar to your example (which fight to start? which dialog to show etc).
Thank you both