llGetFreeURLs

From Second Life Wiki
Revision as of 07:15, 6 October 2012 by Kireji Haiku (talk | contribs) (minor readability improvements)
Jump to navigation Jump to search

Summary

Function: integer llGetFreeURLs( );

Returns an integer that is the number of available URLs.

Examples

This script will say the number of currently available HTTP-In URLs left for the sim. <lsl> default {

   touch_start(integer num_detected)
   {
       integer numberOfFreeURLs = llGetFreeURLs();
       if(numberOfFreeURLs)
           llSay(PUBLIC_CHANNEL,  "There are " + (string)numberOfFreeURLs + " available HTTP-In URLs left for this sim.");
       else
           llSay(PUBLIC_CHANNEL, "WARNING: There are no HTTP-In URLs available anymore.");
   }

}

</lsl>

See Also

Functions

•  llRequestURL
•  llRequestSecureURL
•  llReleaseURL
•  llHTTPResponse
•  llGetHTTPHeader

Articles

•  LSL http server

Deep Notes

History

Search JIRA for related Issues

Signature

function integer llGetFreeURLs();