I've never seen an "entire script" written via dll. An unmaintained dll is just as bad as any unmaintained script anybody might use, so that's not exactly a reason.