Umm, Im still not clear on where the condition under which the loop ends goes
Umm ....Ross ...you're not GUN crazy, are you? ;D :-X
Okay, here's an example that some fine folks on here helped me with.
;CONDITIONAL JOIN SCRIPT
#CountP1 SideChat "started"_n=("alive _x" count units Colgrp)
?_n<11:goto "Join"
P1 SideChat "counted 11 and waiting 60"~60
P1 SideChat "Waited and Restarting"Goto "Count"#JoinP1 SideChat "Waiting to join"~12
[PMH6,GMH6] join ColgrpExitThis script helped me understand it a little better.
All the stuff in
TEAL COLOR I added so I could see what was going on with the script when I was testing it ...very helpful! The
BLUE stuff is telling the script where to go or what to do after it figures out the condition. In this case, 2 pilots have executed this script to see if any of the leader's original 11 members have died. If not, they wait 60 seconds and count again......i.e.
looping back to
#COUNT. If so, they goto the
#Join part , wait 12 seconds and then
JOIN the leader's group. Works great.
Hope that helps you.