Procedural spring setup HINTS / SUGGESTIONS!?

Hello Folks,

I have been digging around some procedural stuff. Been looking at this little video of setting up procedural spring setup in 3ds Max by a talented chinese guy:

http://www.seageo.com/Product/maxRTSscript/videotour.rar

Well I wanted to decode this stuff to be able to use in Maya! Anyone willing to enlighten me :):