Hy!
I made a simple material color randomizer for choosen material id.
Random color, darken or invert the color (based on cookbook)
Works with Blender Render and Cycles as well.
It can be. But I had fun to do it myself!
The original script works only with blender render.
My goal was to figure it out how to make it work with cycles.