Spawn()

is a basic Netscript function.
__TOC__
== Description ==
This function stops the current script and then, after a delay of around 10 seconds, runs the specified script. It is designed to allow a new script to be run without being limited by the RAM usage of the current one. However, it can only be used to run scripts on the local server.
== Usage ==
spawn('foo.script', 10, 'foodnstuff', 90); // "run foo.script foodnstuff 90 -t 10" in 10 seconds.