thats not how goto works
do this:
[[[unit1,unit2,etc,etc...],[gamelogic1,gamlogic2,etc,etc...]]]exec "script.sqs"
_all_units = _this select 0
_all_positions = _this select 0
_i = 0
#loop
_unit = _all_units select _i
_pos = getpos (_all_positions select _i)
_unit domove _pos
_i = _i + 1
?_i < (count _all_units):goto "loop"
~5
_i = 0
goto "loop"
you have to put the units in the same order as the positions to move to
so if unit5 is fifth in the unit list, his position gamlelogic5 would have to be fifth in the other list