Request data delivered through the dataserver event.
What do you want to do?
key llRequestAgentData(key id, integer data)Asynchronously requests the specified data category (DATA_*) about the agent id. Triggers a dataserver event with the results and returns a key query handle.key llGetNotecardLine(string name, integer line)Asynchronously requests the line index line of the notecard name from the dataserver. Returns a key query handle for the dataserver event, which will return 'EOF' when reaching past the end of the notecard.key llRequestSimulatorData(string region, integer data)Asynchronously requests data (using a DATA_SIM_* constant) about the region. Triggers a dataserver event and returns a key query handle.Reference
17 topic entries
Badges
Kind
key llCreateKeyValue(string k, string v)Starts an asynchronous transaction to create a key-value pair (k and v) associated with the script's experience. Returns a key query handle for the dataserver event. Fails withXP_ERROR_STORAGE_EXCEPTIONif the key already exists.functionX (Requires an experience)key llDataSizeKeyValue()Starts an asynchronous transaction to request the used and total data storage allocated for the experience. Returns a key query handle for the dataserver event.functionX (Requires an experience)key llDeleteKeyValue(string k)Starts an asynchronous transaction to delete the key-value pair associated with key k in the experience. Returns a key query handle for the dataserver event.functionX (Requires an experience)key llFindNotecardTextCount(string notecardname, string pattern, list options)Searches the text of a cached notecard for lines containing the given pattern and returns the number of matches found through a dataserver event.functionkey llGetNotecardLine(string name, integer line)Asynchronously requests the line index line of the notecard name from the dataserver. Returns a key query handle for the dataserver event, which will return 'EOF' when reaching past the end of the notecard.functionS (Sleeps 0.1s)key llGetNumberOfNotecardLines(string name)Asynchronously requests the total line count of the notecard name. Returns a key query handle for the dataserver event.functionS (Sleeps 0.1s)key llKeyCountKeyValue()Starts an asynchronous transaction requesting the total count of keys in the experience data store. Returns a key query handle for the dataserver event.functionX (Requires an experience)key llKeysKeyValue(integer first, integer count)Starts an asynchronous transaction to retrieve count keys from the experience data store starting at the zero-based index first. Returns a key query handle for the dataserver event. Fails withXP_ERROR_KEY_NOT_FOUNDif out of bounds.functionX (Requires an experience)key llReadKeyValue(string k)Starts an asynchronous transaction to read the value associated with key k in the experience. Returns a key query handle for the dataserver event. Fails withXP_ERROR_KEY_NOT_FOUNDif the key does not exist.functionX (Requires an experience)key llRequestAgentData(key id, integer data)Asynchronously requests the specified data category (DATA_*) about the agent id. Triggers a dataserver event with the results and returns a key query handle.functionS (Sleeps 0.1s)key llRequestDisplayName(key id)Asynchronously requests the display name of the agent specified by id, triggering a dataserver event with the results. The agent does not need to be online or in the region. Returns a key query handle.functionkey llRequestInventoryData(string item)Asynchronously requests data for the named inventory item, triggering a dataserver event. Currently, only landmark items are supported (which return local region coordinates). Returns a key query handle.functionS (Sleeps 1s)key llRequestSimulatorData(string region, integer data)Asynchronously requests data (using a DATA_SIM_* constant) about the region. Triggers a dataserver event and returns a key query handle.functionS (Sleeps 1s)key llRequestUserKey(string username)Asynchronously requests the Agent ID key (UUID) for the agent specified by their current or historical username, returningNULL_KEYif not found. Returns a key query handle for the dataserver event.functionkey llRequestUsername(key id)Asynchronously requests the unique single-word username of the agent identified by id, triggering a dataserver event. The agent does not need to be online or in the region. Returns a key query handle.functionkey llUpdateKeyValue(string k, string v, integer checked, string original_value)Starts an asynchronous transaction to update the key k to value v inside the experience datastore. If checked isTRUE, the update fails withXP_ERROR_RETRY_UPDATEunless the existing value matches original_value.functionX (Requires an experience)dataserver(key queryid, string data)Triggered when requested data is returned to the script (e.g., fromllRequestAgentData,llRequestInventoryData, orllGetNotecardLine).event
No matching entries. Try a different term or filter.