I'm new to maya's expressions and I really don't understand scripting much at all generally.
I've been searching online for an expression to control the intensity of my point light and I found several.
I created a new expression on the intensity and copied the coding into the expression editor. I always get some kind of error telling me an 'attribute is not found or variable missing'.
Pointlight1.intensity=linstep(-1,1,noise(time))*0.2+1.5;
That is one script I inputed.... It uses noise as the randomness.... At least it's supposed to but fails to work in this instance... I don't get it!
What should I be typing that will work please!?
Oh, and if you have some suggestions, please don't assume I know to replace certain text or numbers with my own values because to some of us, it really isn't that obvious!

Ps - my point light intensity is 2000 using quadratic interpretation.
Thanks!
Luke.