Script commands look like e.g.: spawn meteor position (-4020 4000 40) direction (1 0 0) speed 125 power 1.0 rename "Meteor Red 2" pilot_name McKenzie handle red2 make_wingman_to red1
That's creating it; positioning it etc. ... the last two lines are giving it a name red2 to use in later commands, and then making it a wingman to red1 (assuming we an earlier plane the name red1) . There is also something about factions I don't remember - you'll have to look at the other files in the scripts directory.