I am using A7 and your example dosn t work for me.
I would use trigger, because they arn t use a while anytime. Not just for Dialogs...any static. If 2 or more NPCs are nearby, they are separated by numbers.
A7 has no regions:(
EDIT: remember, my code works with wait(-1); (but not wait(1-30..)