Scripts are designed to automate the work of CAD Softwares.
Scripts help you to task easily.
Also, you can create Visual Basic macros or AutoLISP routines in AutoCAD.
You want a specific script or a macro(for example a macro for automate a process) or it's a general question about scripts?
Maybe I can help you out...