Script Communication
Exchange data between scripts and external services.
Feature: Communications
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
llEmail(string address, string subject, string msg)functionSends 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()llGetNextEmail(string address, string subject)functionRequests 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)
key llHTTPRequest(string url, list parameters, string body)functionSends an HTTP request to the specified url containing body and configured via parameters. Raises an
http_responseevent and returns a key query handle identifying the request.llHTTPResponse(key request_id, integer status, string body)functionResponds to the incoming HTTP request identified by request_id with the HTTP status code status and the payload body.
integer llListen(integer channel, string name, key id, string msg)functionCreates a listener on channel from name and id for msg. Returns an integer listener handle used to control or remove the listener. Empty strings or
NULL_KEYfilters do not filter on those parameters.llListenControl(integer handle, integer active)functionEnables or disables the listener specified by the integer handle. If active is
TRUE, the listener is activated; ifFALSE, it is deactivated.llListenRemove(integer handle)functionCompletely removes the listener specified by the integer handle.
llMessageLinked(integer link, integer num, string str, key id)functionTriggers a
link_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.llRegionSay(integer channel, string msg)functionBroadcasts 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.llRegionSayTo(key target, integer channel, string msg)functionSends 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.
key llRequestSecureURL()functionAsynchronously requests one secure HTTPS (SSL, port 12043) URL for use by this object, triggering an
http_requestevent. Returns a key query handle.key llRequestURL()functionAsynchronously requests one HTTP URL for use by this script, triggering an
http_requestevent. Returns a key query handle.llSay(integer channel, string msg)functionBroadcasts the message msg to all scripts or agents listening on channel within
llGetEnv("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.llShout(integer channel, string msg)functionBroadcasts the message msg to all scripts or agents listening on channel within
llGetEnv("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.llWhisper(integer channel, string msg)functionBroadcasts the message msg to all scripts or agents listening on channel within
llGetEnv("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.listen(integer channel, string name, key id, string msg)eventTriggered when a chat message matching active
llListenfilters is received on channel. Passes the sender's name and UUID key id, along with the spoken string msg.email(string time, string address, string subject, string msg, integer num_left)eventReceive an email requested by
llGetNextEmail(). NumberRemaining indicates the number of emails remaining in the queue forllGetNextEmail() to retrieve.link_message(integer sender_num, integer num, string str, key id)eventTriggered when the script receives a link message from sender_num, containing the parameters num, str, and id sent via
llMessageLinked.http_response(key request_id, integer status, list metadata, string body)eventTriggered when an HTTP response body is received for a pending request_id, or if the request fails or times out.
http_request(key request_id, string method, string body)eventTriggered when the script's registered URL receives an incoming HTTP request identified by request_id.
No matching entries. Try a different term or filter.