$time = `currentTime -q`; pointLightShape1.intensity = rand(#,#)* $time/$time; go to the light intensity> right click > create new expression> paste into bottom field> click create. when using this obviously you need to change the light type, and replace # with whatever you intensity values are going to be.