AutoLISP
General basics of AutoLlSP which are the building blocks for all of it
While there are now more modern programming methods for AutoCAD such as .NET, I prefer to use Autol_lSP, but not VisualLlSP when I can help it. AutoLlSp will always work in any version whether its newer or older.
Even if you have never programmed, AutoLlSP is simply a set of mostly linear instructions. They can sometimes reference other instructions but then return to where the previous instruction left off. It can be a gateway to more modern programming languages or other CAD specific programming languages such as PML.
Anything which can be picked within the drawing area or typed at the command line can be strung together into a single command which runs through it all for you.