when you create a mission it is saved in a folder in,
users/yourname/missions
The name you gave your mission when you saved it in the editor will be the name given to a folder in this folder. Open it and you'll find a mission.sqm, put your script in with this file.