Script To Swap Material ID
I need help from the codemasters over here. Basically this is what i wanted o do:
1. select all object in scene (all object has a multi/sub mat)
2. swap material id  with 
3. collapse multi/sub material to standard material
i've tried to search more info on this online but just couldn't figure ou where to start.
Hope there's any good guy greg around here willing to help me. Please!