Druid,
First off, thanks so much for putting this out there. It's brilliant and I very much appreciate it.
I've got a msn where you have to find 3 tanks in a city. There are 9 possible tanks (9 separate groups...1 unit per group). To get your script to work in my situation i've had to make 3 "lua_men" and split the flags it looks for into 3 groups (1-3, 4-6, 7-9). It's great, but I'd like the full variability of randomly selecting 3 out of the entire 9 as opposed to 1 out of each group of 3.
Is there a way to change your random script to return 3 flags out a group true as opposed to just 1?