While several versions exist, the most trusted sources for a clean, working script include: Turvill's "Free Stuff":

A straightforward Gist script that users can quickly copy and paste if they don't want to download a physical file. How to Install and Use TLEN.lsp in AutoCAD

Once you have the , follow these instructions: