// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Nearby owned-object count // Not compiled or tested in-world // Setup: Owner-touch to scan a ten-meter sphere once. // Stop / restore: Remove/disable. Each touch performs one scan. // Notes: No avatar surveillance or visitor history. Sensors return capped subsets, not a complete parcel inventory. Agents are excluded explicitly. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Not compiled or tested in-world. integer busy; default { touch_start(integer n) { if(llDetectedKey(0)!=llGetOwner()||busy)return; busy=TRUE; llSensor("",NULL_KEY,ACTIVE|PASSIVE,10.0,PI); llSetTimerEvent(10.0); } sensor(integer n) { integer count; integer i; for(i=0;i