LSL Wiki Mirror 10-5-2006: llLoadURL

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings ::
llLoadURL(key avatar_id, string message, string url)

llLoadURL displays a dialog box to the user offering to load a web page using the default web browser.

The URL given must begin with "http://" or "https://"; it will not work with other protocols. (such as ftp, telnet, secondlife, etc.) Muting an object will suppress any URL offers from that object.

Note: url is truncated to 255 characters and message is truncated to 254 characters.

Note: this function delays the script for 10 seconds.

Example:
default
{
    touch_start(integer total_number)
    {
        llLoadURL(llDetectedKey(0), "Flame on!", "http://forums.secondlife.com");
    }
}

Q: Can I use this with a secondlife:// URL?
A: No, use llMapDestination to do this.


Functions
There are 2 comments on this page. [Display comments/form]