Press Space to start setting up points. Press Z to create a line between them in order of points created. If you accidentally start creating a point you didn't mean to put, just type in the coordinates of the last point you created so the line doesn't get messed up. All the code was made by me.
Also, Deleting your last point may come in the future.