LlDeleteKeyValue
De DigiWiki.
key trans; default { state_entry() { trans = llDeleteKeyValue("FOO"); } dataserver(key t, string value) { if (t == trans) { // our llDeleteKeyValue transaction is done list result = llCSV2List(value); if (llList2Integer(result, 0) == 1) { // the key-value pair was successfully deleted llSay(0, "New key-value pair was deleted"); } else { // the key-value pair was not deleted llSay(0, "Key-value failed to delete: " + llList2String(result, 1) ); } } } }