// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Balance alternating items across two rows // Not compiled or tested in-world // Setup: Use a spare owned prim. Set COUNT1..16 and spacing. Owner touch prints sample coordinates. // Stop / restore: Remove/disable. Nothing is rezzed or moved. // Notes: Odd totals produce one longer row; centering avoids an unintended half-cell shift. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Planning only. integer COUNT=9; float SPACING=1.0; float ROW_GAP=1.5; default { touch_start(integer detectedCount) { if(llDetectedKey(0)!=llGetOwner())return; if(COUNT<1||COUNT>16||SPACING<=0.0) { llOwnerSay("Invalid count/spacing."); return; } integer i; for(i=0;i); } } }