help me ,urgent,i need to a simple script!

I'm a beginner script language
I want such a script to study, please help me! Thank you very much! Waiting in line.
this is my email:[email protected]

1. Open lighting files
2. Merge scene file
3. Move lighting to the scene center position
4. render to texture:Set some parameters,eg: threshold Angle 60.0 spacing: 0.02 
   automatic texture size:largest is 4096
5. Baking
6. Save
7. Closing scene file
8. open New scene file merge, namely, repeat the first 1..7 steps.