Script to change material opacity and bitmap blur

I am looking for a script to let me globally change material opacity values and texture map blur on selected objects materials - It needs to work with mulit subobject materials as well -Is there such a beast? Thanks

Mike

i have no time left, but

for i in selection do (

i.material.refraction = (color 100 100 100) --change reflection into a color

if i.material.diffusemap != undefined then (
        i.material.diffusemap.filtering = 2 --3 is off
    )

)

the changing of the filtering does not work yet. you you have to check the maxscript reference and fix it.
but i hope you get an idea how to do this.