In AutoCAD we can use custom programs that help us do many routine work.
You can load your own apps (script) in AutoCAD.
Script is an text document that written on programming language LISP or VBA, and has extension *.LSP, *.ARX, *.DVB and others.