mel - quick mask material

assignMask.mel
assigns a shader with random color value to each mesh in selection, good for assigning diffuse color mask to hi-res models for baking

to use:
source script
select several meshs
type assignMask; in the command line