Homeworld Effects Manual: spawn()

spawn(filename effectname, [parameter list])

Spawns an effect.

effectname is the name of the EBG file, with extension, from homeworld\etg\. After the filename, list any parameters the file might need. You can leave out parameters, or enter extra ones. The extra ones will be ignored, and any omitted parameters will use default values. If no default values have been set, the omitted parameters will have garbage values.

This command seems similar to createEffects, but the two are distinct. spawn() only creates one copy of an effect file, while createEffects() can create several. spawn() is affected by a group of commands that start with setEff*, while createEffects() is affected by all set* commands.