Update f_spec.sqf

Change 'while' to 'waituntil', easier to follow logic
Revise comments