// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Preview sequential child component names // Not compiled or tested in-world // Setup: Use a spare nonphysical rezzed linkset; disable competing scripts and do not edit or relink during the preview. Put this in the root. Set PREFIX. Limit32 actual prims; owner-touch applies/restores. // Stop / restore: Owner-touch again to restore before removing, resetting, relinking or transferring. Snapshots are memory-only; deletion/reset does not undo changes. Keep an untouched backup. // Notes: Renaming may affect scripts that find parts by name. Disable those scripts first. Root name and inventory names are unchanged. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Test on a spare copy first. string PREFIX="Part-"; list saved; integer active; default { touch_start(integer n) { if(llDetectedKey(0)!=llGetOwner())return; if(llGetAttached()||llGetStatus(STATUS_PHYSICS)||llGetLinkNumber()>1) { llOwnerSay("Use a nonphysical rezzed root."); return; } integer i; if(active) { for(i=0;i