llGetFreeURLs
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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 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 |