Reason I'm even trying to do this crazy thing is I'm creating a mental ray phenomenon shader and the phenomenon node only recognizes mental ray shaders...not maya shaders. So it totally ignores my maya mult/divide node when I create my phenomenon. I looked for a mental ray node that would do the same thing but could not find one. So I figured if I could write some MEL to mimic the functionality of the mult/divide node I could expose a 'multiply' attribute in the UI and use that value to drive the MEL that would multiply the RGB image data.
If anyone has some advice on how to approach this it would be awesome! Or if you've got a better way to approach the problem I'm all ears. :)
Thank so much!