Actuator change material?

Is there an actuator (in the blender game engine 2.49b) that can change the material of an object?

I think you can do it with python, I think!, otherwise with logic bricks you could use the replace mesh actuator and then change to an identical mesh with a different material on.

Well replace mesh works perfectly.
I also tried to do it with toggling the visibility, but that gives just alot of mess.