The llLinksetDataRead and llLinksetDataReadProtected functions return the value in the linkset's datastore for the provided name. If name is not found, these functions return an empty string.

Syntax

llLinksetDataRead

Reads an unprotected name:value pair from the linkset's datastore.

string llLinksetDataRead( string name );

Forced delay: 0 seconds. Energy: 10.0.

Parameters

string name
The key of the linkset name:value pair to be read.

Return value

Returns a string value corresponding to name

Caveats

If the name is an empty string, or the name:value pair was created with llLinksetDataWriteProtected this function returns an empty string.

llLinksetDataReadProtected

Reads a protected name:value pair from the datastore.

string llLinksetDataReadProtected( string name, string pass );

Forced delay: 0.0 seconds. Energy: 10.0.

Parameters

string name
The key of the linkset name:value pair to be read.The key of the name:value pair to be read.
string pass
The pass phrase protecting the name:value pair.

Return value

Returns a string value corresponding to name

Caveats

If the pass parameter does not match, this function returns an empty string.

See also

Functions