Script generator files refer to the lisp files used with the AMSCRIPT command.
The path to the folder containing script generator files is in the system editor key Acad/MPathsScrPath (Configuration file setting gen@Paths@ScrPath).
By default, the key points to C:\Users\Public\Public Documents\Autodesk\AutoCAD Mechanical 2022\Acadm\Gen\Scr