// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Preview removing selected record fields // Not compiled or tested in-world // Setup: Edit RECORD and REMOVE_KEYS; touch as owner. // Stop / restore: Remove or disable; it only reports locally to the owner. // Notes: No saved settings are altered. The original record remains available in source; only whole pairs are removed. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. list RECORD=["title","Lamp","debug","true","color","green","temporary","yes"]; list REMOVE_KEYS=["debug","temporary"]; default { touch_start(integer touches) { if(llDetectedKey(0)!=llGetOwner())return; if(llGetListLength(RECORD)%2) { llOwnerSay("Incomplete pair."); return; } list result=[]; integer i; integer removed; for(i=0;i