// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Build change reporter // Not compiled or tested in-world // Setup: Place in a test prim, then edit its scale, shape, color, texture, links, or Contents. // Stop / restore: Remove or disable to stop reporting. No object settings change. // Notes: Events can combine several change bits and may differ across simulators. This logs no visitors and keeps no history. Avoid leaving it in rapidly animated builds. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. default { state_entry() { llOwnerSay("Build-change reporter ready."); } changed(integer flags) { if (flags & CHANGED_OWNER) { llResetScript(); return; } list names = []; if (flags & CHANGED_SCALE) names += ["scale"]; if (flags & CHANGED_SHAPE) names += ["shape"]; if (flags & CHANGED_COLOR) names += ["color"]; if (flags & CHANGED_TEXTURE) names += ["texture"]; if (flags & CHANGED_LINK) names += ["links"]; if (flags & CHANGED_INVENTORY) names += ["inventory"]; if (llGetListLength(names)) llOwnerSay("Changed: " + llDumpList2String(names, ", ")); } }