The llLinksetDataReset function erases all name:value pairs stored in the linkset's datastore. When this function is called the linkset_data event is triggered in all scripts running in the linkset with an action of LINKSETDATA_RESET.
void llLinksetDataReset();
Forced delay: 0.0 seconds. Energy: 10.0.
llLinksetDataReset removes all keys. Even those that were created by llLinksetDataWriteProtected.
The following code will delete all the keys in a object.
// 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();
}
}