INSTRUCTIONS: Automates light pass creation process. Requires lights to be grouped, for the render passes shall be built per group, containing all the lights within. The script also requires an additional group as the top node of the aforementioned groups.
Create this hierarchy, select the top group, run the script.
Result will be a diffuse and spec pass per group, using the name of the group.
will make this more user friendly in the future. For now please feel free to download here (save target as)