...like so:
Code:
Break ON

If IsDeclared($iTimeToSleep)
"Child script called"+@CRLF
"Sleeping "+$iTimeToSleep+" seconds"+@CRLF
Sleep Int($iTimeToSleep)
"Child done sleeping, will now exit..."+@CRLF
Exit 0
EndIf

"Parent started, will call child..."+@CRLF
RUN %COMSPEC%+" /C START /MIN kix32 "+@SCRIPTNAME+" $$iTimeToSleep=3"
"Parent called child - will now exit"+@CRLF
Exit 0