// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Find missing referenced assets // Not compiled or tested in-world // Setup: Edit the small sample lists and touch as owner. These examples print previews only. // Stop / restore: Remove or disable; no simulator objects or persistent records are changed. // Notes: Records use item/reference pairs; registry keys are exact strings. This validates names, not actual simulator inventory. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. list REGISTRY=["glass","wood","metal"]; list RECORDS=["Window","glass","Door","wood","Roof","slate"]; default { touch_start(integer touches) { if(llDetectedKey(0)!=llGetOwner())return; if(llGetListLength(RECORDS)%2) { llOwnerSay("Incomplete record."); return; } integer i; integer missing; for(i=0;i