Draggable Wire Behave (snake-a-like)?

Hello everybody…first i would like to congratulate everyone for this forum…such amazing codes and a lot of answers that i’ve been looking for.

My problem. I want to make a line/wire to behave like a real one; like the a wire that have a exact length… you can move it around but it wont be curve if you have it strained. Just to behave like a ipod wired to the earphones.

Im sorry if nobody understand…i try my best to explain eheh

I found a lot of elastic lines, lines curves here. Amazing scripts but, im unable to think a way to improve this for the thing i wanna do.

If anyone could help me…that ll be great…

Tkas all