or, using what you already have, why not cut off the end bit, and simply use
[] exec "0.sqs"
~wait
[] exec "1.sqs"
~wait
[] exec "2.sqs"
~wait
[] exec "3.sqs"
...
as for the reason your script doesn't work, you're assigning an instruction to a variable and then simply stating the variable. it's like saying
"when somebody asks my name, say Flauta", and then instead of asking your name they say
"when somebody asks your name."
~wait a little while
"when somebody asks your name."
~wait a little while
...
a wee bit silly
all the explosions are happening at the same time, because there are no pauses between the
[] exec "number.sqs" commands. (i think - don't quote me on that one)
as mentioned above, there are better, simpler ways to do this. Taggart's suggestion is a good place to begin.
good luck