Difference between revisions of "LlGetFreeURLs"
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
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 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 |