To overcome an issue of a spline Create Line method which would more often than not want to weld the vertices and/or not work at all I have first written a short function, and later on, having been asked to support multiple vertices, expanded it to this little script.

Installation: Download the .mcr file and either drop it in viewport or run it once. In Customize dialog you will then find the script in category Advanced.