Difference between revisions of "LlGetFreeURLs"

From Second Life Wiki
Jump to navigation Jump to search
m
Line 9: Line 9:
|constants
|constants
|examples=
|examples=
This script will say the number of HTTP-In URLs Available
<LSL>
// Developed by: Pavcules Superior
// Developed on: December 2009
default
{
    state_entry()
    {
        integer freeurls = llGetFreeURLs();
   
        if(freeurls > 0)
        {
            llOwnerSay( "There are " + (string)freeurls + " Available HTTP-In URLs"  );
        }
        else
        {
            llOwnerSay("WARNING: There is no available HTTP-In URLs that can be used.");
        }
    }
}
</LSL>
|helpers
|helpers
|also_functions=
|also_functions=

Revision as of 06:44, 6 June 2010

Summary

Function: integer llGetFreeURLs( );
0.0 Forced Delay
10.0 Energy

Returns an integer that is the number of available URLs.

Examples

This script will say the number of HTTP-In URLs Available <LSL> // Developed by: Pavcules Superior // Developed on: December 2009 default {

   state_entry()
   {
       integer freeurls = llGetFreeURLs();
   
       if(freeurls > 0)
       {
           llOwnerSay( "There are " + (string)freeurls + " Available HTTP-In URLs"  );
       }
       else
       {
           llOwnerSay("WARNING: There is no available HTTP-In URLs that can be used.");
       }
   }

}

</LSL>

See Also

Functions

•  llRequestURL
•  llRequestSecureURL
•  llReleaseURL
•  llHTTPResponse
•  llGetHTTPHeader

Articles

•  LSL http server

Deep Notes

History

Signature

function integer llGetFreeURLs();