Script Communication
Exchange data between scripts and external services.
What do you want to do?
llMessageLinked(integer link, integer num, string str, key id)Triggers a link_message event, sending num, str, and id to the scripts in the prim(s) specified by link to allow scripts within the same object to communicate.key llHTTPRequest(string url, list parameters, string body)Sends an HTTP request to the specified url containing body and configured via parameters. Raises an http_response event and returns a key query handle identifying the request.llEmail(string address, string subject, string msg)Sends an email with the given destination address, subject, and body msg. The email will be sent from `{ll.GetKey()}@lsl.secondlife.com`. This can be used for script communication; see llGetNextEmail()Reference
20 topic entries
Badges
Kind
llEmail(string address, string subject, string msg)Sends an email with the given destination address, subject, and body msg. The email will be sent from `{ll.GetKey()}@lsl.secondlife.com`. This can be used for script communication; seellGetNextEmail()functionS (Sleeps 20s)llGetNextEmail(string address, string subject)Requests the next queued email via the email event. Emails must 1. Be sent to `{ll.GetKey()}@lsl.secondlife.com` 2. Be sent from the specified sender Address (or any address if blank) 3. Have the specified subject Subject (or any subject if blank)functionkey llHTTPRequest(string url, list parameters, string body)Sends an HTTP request to the specified url containing body and configured via parameters. Raises anhttp_responseevent and returns a key query handle identifying the request.functionllHTTPResponse(key request_id, integer status, string body)Responds to the incoming HTTP request identified by request_id with the HTTP status code status and the payload body.functioninteger llListen(integer channel, string name, key id, string msg)Creates a listener on channel from name and id for msg. Returns an integer listener handle used to control or remove the listener. Empty strings orNULL_KEYfilters do not filter on those parameters.functionllListenControl(integer handle, integer active)Enables or disables the listener specified by the integer handle. If active isTRUE, the listener is activated; ifFALSE, it is deactivated.functionllListenRemove(integer handle)Completely removes the listener specified by the integer handle.functionllMessageLinked(integer link, integer num, string str, key id)Triggers alink_messageevent, sending num, str, and id to the scripts in the prim(s) specified by link to allow scripts within the same object to communicate.functionllRegionSay(integer channel, string msg)Broadcasts the message msg to all scripts listening on channel Channel within the region.PUBLIC_CHANNEL(0) cannot be used, so, only scripts can receive the message.functionllRegionSayTo(key target, integer channel, string msg)Sends the message msg on Channel privately to the targeted agent or object (if within the region). If target is an agent and channel is non-zero, the message can also be heard by any attachments worn by the avatar.functionkey llRequestSecureURL()Asynchronously requests one secure HTTPS (SSL, port 12043) URL for use by this object, triggering anhttp_requestevent. Returns a key query handle.functionkey llRequestURL()Asynchronously requests one HTTP URL for use by this script, triggering anhttp_requestevent. Returns a key query handle.functionllSay(integer channel, string msg)Broadcasts the message msg to all scripts or agents listening on channel withinllGetEnv("chat_range"), which is 20m on most regions. Agents listen onPUBLIC_CHANNEL(0) andDEBUG_CHANNEL(2147483647). All other channels are for script-to-script communication.functionllShout(integer channel, string msg)Broadcasts the message msg to all scripts or agents listening on channel withinllGetEnv("shout_range"), which is 100m on most regions. Agents listen onPUBLIC_CHANNEL(0) andDEBUG_CHANNEL(2147483647). All other channels are for script-to-script communication.functionllWhisper(integer channel, string msg)Broadcasts the message msg to all scripts or agents listening on channel withinllGetEnv("whisper_range"), which is 10m on most regions. Agents listen onPUBLIC_CHANNEL(0) andDEBUG_CHANNEL(2147483647). All other channels are for script-to-script communication.functionlisten(integer channel, string name, key id, string msg)Triggered when a chat message matching activellListenfilters is received on channel. Passes the sender's name and UUID key id, along with the spoken string msg.eventemail(string time, string address, string subject, string msg, integer num_left)Receive an email requested byllGetNextEmail(). NumberRemaining indicates the number of emails remaining in the queue forllGetNextEmail() to retrieve.eventlink_message(integer sender_num, integer num, string str, key id)Triggered when the script receives a link message from sender_num, containing the parameters num, str, and id sent viallMessageLinked.eventhttp_response(key request_id, integer status, list metadata, string body)Triggered when an HTTP response body is received for a pending request_id, or if the request fails or times out.eventhttp_request(key request_id, string method, string body)Triggered when the script's registered URL receives an incoming HTTP request identified by request_id.event
No matching entries. Try a different term or filter.