Random Colored Tiles In Mental Ray?--noise Function?

I found a tutorial on how to create randomly colored tiles in maya ( http://www.digitalartform.com/archives/200…rete\_tiled.html ) but it doesnt work in mental ray because it uses an expression.

Basically what I need is something that generates a random color that is to be used in a ramp shader. I installed the JS_Expression shader found on www.pixero.com but I cant figure out how to use it for what im trying to do. What is the best way to do this?

let me rephrase this, I think my last post may have been confusing.

Basically what I need is some way of making a checker pattern where each checker is a ramp between 2 random colors.
I would like to do this using only mental ray textures so that I can make it into a phenomenon.
How can I do this?

I know this is possible because I saw Joojaa do something like this in a previous post where a displacement was applied to a sphere that displaced a bunch of tiles with random values. The problem is I cant figure out how to assign a noise function to a color value? how do I do this?

use none interpolate ramp instead of expression.
wat2k@hotmail.com

Yeah make 2 of them with bands and multiply them togehether output this to the uv of a noise node.

But that dont filter Wich is bad.