I've added some of my most commonly used lua scripts to a github repository. You can find them here: https://github.com/ribbiks/doom_lua

squarifier.lua

bevel.lua

Adds bevels to the intersection of all selected linedefs.

circularizer.lua

Transform a map from a rectangle into a ring.

flank.lua

Adds border linedefs to the interior of all selected linedefs.

join_identical_sectors.lua

Join (or merge) all selected sectors that have the same floor, ceiling, brightness, tag, effect, floortex, and ceiltex.

make242c.lua

Apply fake floor, ceiling, and colormap effects to all selected sectors.

select_overlapping_monsters.lua

Does what it says on the tin.

squarifier.lua

"Squarifies" all selected linedefs.