Basically, you have a pulley or sprocket on the top of the outermost segment, one at both the bottum and top of the middle segment, and an attatchment point at the bottum of the innermost segment.

The same setup is used on an 80/20 or similar material elevator, like team 25's this year.