aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--URL counter.lsl13
1 files changed, 13 insertions, 0 deletions
diff --git a/URL counter.lsl b/URL counter.lsl
new file mode 100644
index 0000000..ae3a220
--- /dev/null
+++ b/URL counter.lsl
@@ -0,0 +1,13 @@
1default
2{
3 touch_start(integer num_detected)
4 {
5 integer numberOfFreeURLs = llGetFreeURLs();
6
7 if(numberOfFreeURLs)
8 llSay(0, "There are " + (string)numberOfFreeURLs + " available HTTP-In URLs left for this sim.");
9
10 else
11 llSay(0, "WARNING: There are no HTTP-In URLs available anymore.");
12 }
13} \ No newline at end of file