I don't know of a built in way to do what you want. You really need to think about redoing your script in a current version of kixtart. I had to go look in the 3.x manual just to see what was available because no one here uses it any more, and its like 10 years old now. There is so much more power and flexibility in 4.x.

I suggest you take your script in chunks, and convert it. If you get hung, post your code. This is a fairly responsive board.

Back to your request... to do this in Kix 4.x would be something like the following. You will need the readfile UDF (link below). One potential issue you could run into doing this is loops/ifs lines. About the only way to get around that would be to put the entire loop on one line...
 Code:
break on

for each $line in readfile(@scriptdir + "\yourscript.kix")
  ? $line
  $RC=execute($line)
next


Readfile() -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=84660

The rest of the UDFs are here -
http://www.kixtart.org/forums/ubbthreads.php?ubb=postlist&Board=7&page=1

How to use UDFs -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943#Post81943