You should be able to get some sort of results with that yes (hopefully
).
But, you have to change it to sqf because sqs (which that script seems to be) does not support formatting like that, everything within the
then {}; would need to be on one line if you keep using sqs.
Just remember that the sqf script is executed by
execVM and the ~ has to be replaced with
sleep, and each line has to end with ;
And btw, that pause is kinda useless because it's way too short to have any effect.