Hi,

Sorry for the delay ive been quite busy and this totally got out of my mind.

I tried using the code you gave, however it didnt work, so perhaps ive misunderstood how to use it, or i didnt explain exactly what i meant.

Take for example the following script:

Code:
alias examplescript {
run RandomProgram.exe >randomtext.txt
msg $chan Back Up Complete!
}


Now the purpose of this script is to msg the channel once the command has been fully exectued. The actual program may take 5mins to finish. However, mirc script doesnt pause, so as soon as the program is executed, at the same instant, the msg is sent. What i was looking for was for randomprogram.exe to finish executing, then for the msg to be sent.

Now using your code, i tried just replacing run with wrun:


Code:
alias examplescript {
wrun RandomProgram.exe >randomtext.txt
msg $chan Back Up Complete!
}


However, the same result occured, with the next line of coding being processed right away.