I actually have a button for the 'stitching mode' in Second Life that changes this without the need for an LSL script. It's a drop-down menu beneath where the sculpt map itself is shown.
I am currently running version 1.20.15, using the 'new' UI skin. (Quicksilver or something?)