Noise Controller (recreate)

How would I go about recreating the Noise controller through maxscript with a min and max value.

Desired controls:
Min
Max
Seed
Frequency
Ramp In
Ramp Out
Noise
Roughness

Then just apply it to the z position of an object.

for i = 1 to 200 do
(
	val =  ((random 0.0 100.0)
	obj = box pos:[i*2,0,(val)] width:2 height:2 length:2 wirecolor:red 
)