Color Gradient script?

 From:  amur (STEFAN)
9676.1 
Hi Michael and all,

I am a bit out of the loop with MoI and was wondering if there is
a color gradient script available, which allows me to colorize splines
or tubes, made out of splines, so that I have for example a rainbow
effect on let's say n number of objects?

Best regards
Stefan