What are scripts and how can be executed within AutoCAD?
If you want to automate repetitive tasks, then you should use scripts.
Scripts are instructions executed by computer which could alternatively be executed one by one, by a human operator.
Answered with a tutorial: https://grabcad.com/tutorials/how-to-create-a-script-in-autocad
Click on Download to see the video...
Works also with LISP commands.
The purpose of this tutorial is just to have a large overview of scripting in AutoCAD...
a sample script file
How would I put this data into a script file to draw coordinates?
1010,9921.77210,4779.83210,0.89360,WIRE FENCE B