From 98c8c2171469963e6066b9f75d062a10c42de667 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 1 Jul 2019 12:00:55 +1000 Subject: A script used for testing URL availability. --- URL counter.lsl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 URL counter.lsl (limited to 'URL counter.lsl') 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 @@ +default +{ + touch_start(integer num_detected) + { + integer numberOfFreeURLs = llGetFreeURLs(); + + if(numberOfFreeURLs) + llSay(0, "There are " + (string)numberOfFreeURLs + " available HTTP-In URLs left for this sim."); + + else + llSay(0, "WARNING: There are no HTTP-In URLs available anymore."); + } +} \ No newline at end of file -- cgit v1.1