# llLinksetDataReset

*LSL function*

```lsl
void llLinksetDataReset();
```

- Energy: 10

The **`llLinksetDataReset`** function erases all **name:value** pairs stored in the linkset's datastore. When this function is called the [linkset_data](/events/linkset_data/) event is triggered in all scripts running in the linkset with an action of [LINKSETDATA_RESET](https://wiki.secondlife.com/wiki/Template:LSL_Constants_Linkset_Data).

```lsl title="How to use" frame="terminal"
llLinksetDataReset();
```

## Caveats

`llLinksetDataReset` removes all keys. Even those that were created by [llLinksetDataWriteProtected](/functions/llLinksetDataWriteProtected/).

## Examples

<details open>
<summary>The following code will delete all the keys in a object.</summary>

```lsl
// Removes all the keys in linksetdata without a saving throw.
// Warning: This will delete in password protected keys and is irreversible.
// -- Madi Melodious --

default
{
    state_entry()
    {
       llLinksetDataReset();
    }
}
```

</details>

## See also

### Functions

- [llLinksetDataAvailable](/functions/llLinksetDataAvailable/)
- [llLinksetDataCountFound](/functions/llLinksetDataCountFound/)
- [llLinksetDataCountKeys](/functions/llLinksetDataCountKeys/)
- [llLinksetDataDelete](/functions/llLinksetDataDelete/)
- [llLinksetDataDeleteFound](/functions/llLinksetDataDeleteFound/)
- [llLinksetDataFindKeys](/functions/llLinksetDataFindKeys/)
- [llLinksetDataListKeys](/functions/llLinksetDataListKeys/)
- [llLinksetDataRead](/functions/llLinksetDataRead/)
- [llLinksetDataWrite](/functions/llLinksetDataWrite/)

### Events

- [linkset_data](/events/linkset_data/)

---

*Source: [LlLinksetDataReset](https://wiki.secondlife.com/wiki/LlLinksetDataReset) on the Second Life Wiki. Content from the Second Life Wiki article LlLinksetDataReset (revision 1219036, 2026-09-10), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/functions/llLinksetDataReset/
