Pipe-Script?

 From:  BlackBird
11911.1 
Hello Michael,

in your other "favorite" modeling-tool you can press "p" to make a pipe from a selectet curve. Iam convinced this would be also possible with a script in moi.
If i select a curve an run the script. it would be nice to get a promt in the right corner to enter a diameter or use the mouse to set the size (like the most MOI-tools).
Maybe also a button so seleect a custom profile. But then i can also use the sweep command. nevermind...
I had the case where i had to model a lot of wires for a metal Basket. Creating profiles on the curves is time consuming. Compared to use a pipe-script.
I would do it by myself. but i dont know how to start. Do you have some tutorials for scripting in MOI?
Can you point me in the right direction.