Coiled hose model

Any tips for modelling a coiled hose something like this:-
https://secure48.mysecureorder.net/offroadonly/catalog/index.php?manufacturers\_id=10&sort=2d&filter\_id=48

Ideally, I want to create a spline and have a script that will wrap a coil around it for its full length

EDIT: nevermind - sorted it.