// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Check whether a Description changed since a checkpoint // Not compiled or tested in-world // Setup: Use a spare owned test object. Touch to checkpoint, edit Description manually, then touch to compare. // Stop / restore: Disable/remove. Tests report privately and do not change visual prim properties. Any temporary timer stops at completion or timeout. // Notes: Only a digest and change status are displayed; no Description text is exposed or overwritten. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Runtime verification, not pre-certified behavior. integer checkpoint; string digest; default { touch_start(integer detectedCount) { if(llDetectedKey(0)!=llGetOwner())return; string current=llMD5String(llGetObjectDesc(),0); if(!checkpoint) { digest=current; checkpoint=TRUE; llOwnerSay("Description checkpoint captured."); } else { llOwnerSay("Description changed="+(string)(current!=digest)); checkpoint=FALSE; } } changed(integer flags) { if(flags&CHANGED_OWNER)llResetScript(); } }