How to make contruction script to easily create multiple lights?

Hi is there a way to create a multiple lights easily with construction script?

If you can, pics would really help.

You can add light coponents and set its position/rotation in a loop from 0 to N-1(N is count of lights you need).

Thanks but I tried doing that, but I still kept getting it wrong. If there was an image showing this, that would make it very clear.

Here is very rough example, but i think its enough to understand how it works.