transform wiggle


Is there a simple script that would alove me to add secondary motion in form of a simple wiggle effect in max. I use an expression in after effects all the time that makes a value continue it's transforms for x seconds and then rests in place. I have control for amplitude,frequency and drag. This is much like the flex modifier but I would like it to operate on a controller. Hope this makes sense.