<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vegas+Silverweb</id>
	<title>Second Life Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Vegas+Silverweb"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/wiki/Special:Contributions/Vegas_Silverweb"/>
	<updated>2026-06-27T01:14:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/vsListFindList&amp;diff=874022</id>
		<title>User:Vegas Silverweb/vsListFindList</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/vsListFindList&amp;diff=874022"/>
		<updated>2010-04-21T21:57:15Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;Like ListFindList but tries for match based on implicit cast to string, so works pretty good for everything except vectors and rotations initialized in-place with integers.  &amp;lt;lsl...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Like ListFindList but tries for match based on implicit cast to string, so works pretty good for everything except vectors and rotations initialized in-place with integers.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
integer vsListFindList(list haystack,list needle) {&lt;br /&gt;
    integer i;&lt;br /&gt;
    integer j = llGetListLength(haystack);&lt;br /&gt;
    string s = llList2String(needle,0);&lt;br /&gt;
    for(i=0;i&amp;lt;j;i++) {&lt;br /&gt;
        if(llList2String(haystack,i)==s) return i;&lt;br /&gt;
        }&lt;br /&gt;
    return -1;&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=874012</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=874012"/>
		<updated>2010-04-21T21:44:37Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/How to get the SL Time in Chatlog Format|How to get the SL Time in Chatlog Format]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)|Fastest And Probably Most Efficient Way To Reverse a List (in Mono)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)|llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)/Matrix URLs|llHTTPRequest Pro Tip(s) (slight return) Matrix URLs]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON|LSL to JSON]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/vsListFindList|Loose List Find List]]&lt;br /&gt;
&lt;br /&gt;
[https://wiki.secondlife.com/wiki/User:Kelly_Linden/lsl_hacks#Another_javascript_boot_strapping_method_.28Vegas_Silverweb.29 My Prim Media Hack]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=874002</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=874002"/>
		<updated>2010-04-21T21:42:58Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/How to get the SL Time in Chatlog Format|How to get the SL Time in Chatlog Format]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)/Matrix URLs]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON]]&lt;br /&gt;
&lt;br /&gt;
[https://wiki.secondlife.com/wiki/User:Kelly_Linden/lsl_hacks#Another_javascript_boot_strapping_method_.28Vegas_Silverweb.29 My Prim Media Hack]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873982</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873982"/>
		<updated>2010-04-21T21:00:10Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/How to get the SL Time in Chatlog Format]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)/Matrix URLs]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON]]&lt;br /&gt;
&lt;br /&gt;
[https://wiki.secondlife.com/wiki/User:Kelly_Linden/lsl_hacks#Another_javascript_boot_strapping_method_.28Vegas_Silverweb.29 My Prim Media Hack]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/Fastest_And_Probably_Most_Efficient_Way_To_Reverse_a_List_(in_Mono)&amp;diff=873102</id>
		<title>User:Vegas Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/Fastest_And_Probably_Most_Efficient_Way_To_Reverse_a_List_(in_Mono)&amp;diff=873102"/>
		<updated>2010-04-21T04:38:48Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As Seen in Scripts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
list newlist;&lt;br /&gt;
list oldlist = [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
while(oldlist !=[]) {newlist+=llList2List(oldlist,-1,-1);oldlist = llDeleteSubList(oldlist,-1,-1);}&lt;br /&gt;
&lt;br /&gt;
// oldlist is now empty, newlist is [&amp;quot;c&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;a&amp;quot;]&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(of course the real fastest way to reverse a list is to just iterate over it from end to front)&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873092</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873092"/>
		<updated>2010-04-21T04:21:57Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/How to get the SL Time in Chatlog Format]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON]]&lt;br /&gt;
&lt;br /&gt;
[https://wiki.secondlife.com/wiki/User:Kelly_Linden/lsl_hacks#Another_javascript_boot_strapping_method_.28Vegas_Silverweb.29 My Prim Media Hack]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/LSL_to_JSON&amp;diff=873082</id>
		<title>User:Vegas Silverweb/LSL to JSON</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/LSL_to_JSON&amp;diff=873082"/>
		<updated>2010-04-21T04:19:59Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;JSON&amp;#039;s a pleasant way to serialize object representations. At this point basically every general-purpose programming language with some form of object abstraction supports JSON. ...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;JSON&#039;s a pleasant way to serialize object representations. At this point basically every general-purpose programming language with some form of object abstraction supports JSON. It&#039;s particularly handy in say PHP, where web-to-object is just a json_decode() away.&lt;br /&gt;
&lt;br /&gt;
PHP certainly doesn&#039;t speak LSL strided lists, and LSL&#039;s list dumping and CSV implementations are rather unique to LSL. With a little trickery, though, you can make use of the fact that the key type in LSL is just a string with delusions of grandeur and construct JSON representations of objects with arbitrary complexity...with some caveats.&lt;br /&gt;
&lt;br /&gt;
Note a few optimizations and shortcuts are omitted for the sake of keeping things a little more readable/understandable.&lt;br /&gt;
&lt;br /&gt;
First let&#039;s turn a strided list into a JSON object:&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
string vsList2JSON(list input) {&lt;br /&gt;
list labels;&lt;br /&gt;
if(llGetListLength(input) % 2 != 0) {&lt;br /&gt;
    llSay(DEBUG_CHANNEL,&amp;quot;vsList2JSON must be a 2-strided list!&amp;quot;);&lt;br /&gt;
    return &amp;quot;{}&amp;quot;;}&lt;br /&gt;
&lt;br /&gt;
string sTemp = &amp;quot;{&amp;quot;;&lt;br /&gt;
integer i;&lt;br /&gt;
for(i=0;i&amp;lt;llGetListLength(input);i+=2) {&lt;br /&gt;
string label = llList2String(input,i);&lt;br /&gt;
sTemp += &amp;quot;\&amp;quot;&amp;quot;+label+&amp;quot;\&amp;quot;:&amp;quot;;&lt;br /&gt;
integer entryType = llGetListEntryType(input,i+1);&lt;br /&gt;
if(entryType&amp;gt;2 &amp;amp;&amp;amp; entryType!=4)&lt;br /&gt;
    sTemp=sTemp+&amp;quot;\&amp;quot;&amp;quot;+llList2String(input,i+1)+&amp;quot;\&amp;quot;&amp;quot;; else&lt;br /&gt;
    if(entryType==2)&lt;br /&gt;
    sTemp=sTemp+(string)llList2Float(input,i+1); else&lt;br /&gt;
    if(entryType==1)&lt;br /&gt;
    sTemp=sTemp+(string)llList2Integer(input,i+1); else&lt;br /&gt;
    if(entryType==4)&lt;br /&gt;
    sTemp=sTemp+llList2String(input,i+1);&lt;br /&gt;
    if(llGetListLength(input)&amp;gt;i+2) sTemp=sTemp+&amp;quot;,&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
sTemp += &amp;quot;}&amp;quot;;&lt;br /&gt;
return sTemp;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It&#039;s a little ugly, but for most cases works fine. The part that needs a little explaining is how keys are handled (type 4). We want to treat it as a string, but not surround it with quotes. This&#039;ll come in handy later...&lt;br /&gt;
&lt;br /&gt;
So we have a strided list in object format. We might need a JSON array, too:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
string vsList2JSONArray(list input) {&lt;br /&gt;
string sTemp = &amp;quot;[&amp;quot;;&lt;br /&gt;
integer i;&lt;br /&gt;
for(i=0;i&amp;lt;llGetListLength(input);i++) {&lt;br /&gt;
integer entryType = llGetListEntryType(input,i);&lt;br /&gt;
if(entryType==3)&lt;br /&gt;
    sTemp=sTemp+&amp;quot;\&amp;quot;&amp;quot;+llList2String(input,i)+&amp;quot;\&amp;quot;&amp;quot;; else&lt;br /&gt;
    if(entryType==2)&lt;br /&gt;
    sTemp=sTemp+(string)llList2Float(input,i); else&lt;br /&gt;
        if(entryType==4)&lt;br /&gt;
    sTemp=sTemp+(string)llList2String(input,i); else&lt;br /&gt;
    sTemp=sTemp+(string)llList2Integer(input,i);&lt;br /&gt;
    if(llGetListLength(input)&amp;gt;i+1) sTemp=sTemp+&amp;quot;,&amp;quot;;&lt;br /&gt;
}&lt;br /&gt;
sTemp += &amp;quot;]&amp;quot;;&lt;br /&gt;
return sTemp;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And there we go, this will wrap and delimit a list so in most cases a JSON parser will treat the list dump as valid JSON. So, let&#039;s put them together and make a JSON object of moderate complexity:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
default {&lt;br /&gt;
    state_entry() {&lt;br /&gt;
        list values = [&amp;quot;Red&amp;quot;,&amp;quot;Green&amp;quot;,&amp;quot;Blue&amp;quot;];&lt;br /&gt;
        llOwnerSay(vsList2JSON([&amp;quot;beer&amp;quot;,(key)&lt;br /&gt;
        vsList2JSON([&amp;quot;Hey&amp;quot;,&amp;quot;You&amp;quot;,&amp;quot;Out&amp;quot;,&amp;quot;There&amp;quot;]),&amp;quot;number&amp;quot;,34,&amp;quot;floater&amp;quot;,1.232,&lt;br /&gt;
        &amp;quot;EmbeddedArray&amp;quot;,(key)vsList2JSONArray(values)]));&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And the output we get: {&amp;quot;beer&amp;quot;:{&amp;quot;Hey&amp;quot;:&amp;quot;You&amp;quot;,&amp;quot;Out&amp;quot;:&amp;quot;There&amp;quot;},&amp;quot;number&amp;quot;:34,&amp;quot;floater&amp;quot;:1.232000,&amp;quot;EmbeddedArray&amp;quot;:[&amp;quot;Red&amp;quot;,&amp;quot;Green&amp;quot;,&amp;quot;Blue&amp;quot;]}&lt;br /&gt;
&lt;br /&gt;
Pop that into your favorite JSON decoder or JSON validator, nice and valid!&lt;br /&gt;
&lt;br /&gt;
Basically all you have to do is preface inner calls of the *2JSON functions with a cast to (key) and the *JSON functions will not wrap the string in quotes, allowing you to construct JSON representations of arbitrary complexity.&lt;br /&gt;
&lt;br /&gt;
Which brings us to the cavaets. JSON&#039;s a little finicky, and a number of the characters that could find their way into strings will make fragile JSON parsers, including Javascript interpreters, choke. If there&#039;s any chance of forward slashes, backslashes, double quotes, or Unicode characters in your JSON, it&#039;s probably wise to let llStringToBase64 wrap the string in a nice, safe encoding. Basically any language that handles JSON probably has facilities to decode base 64 for you as well.&lt;br /&gt;
&lt;br /&gt;
At this point you might be excited about the prospect of serving Javascript objects from HTTP-in scripts, doing some fun stuff with callbacks, and so on. You shouldn&#039;t be. The market share leader, IE, refuses to interpret Javascript served with a text/plain content type. Most other browsers are kind enough to do so - including the SL &amp;quot;Media Browser,&amp;quot; and 2.0&#039;s &amp;quot;Shared Media.&amp;quot; If you&#039;re want to get mad at Microsoft (about this), don&#039;t...they&#039;re actually trying to follow standards by expecting application/javascript or application/ecmascript, and allowing text/html fallback for the benefit of nonstandard HTTP servers.&lt;br /&gt;
&lt;br /&gt;
Nevertheless handy particularly for things like [https://wiki.secondlife.com/wiki/User:Kelly_Linden/lsl_hacks#Another_javascript_boot_strapping_method_.28Vegas_Silverweb.29 Shared Media(tm) (heh) hacks].&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/How_to_get_the_SL_Time_in_Chatlog_Format&amp;diff=873032</id>
		<title>User:Vegas Silverweb/How to get the SL Time in Chatlog Format</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/How_to_get_the_SL_Time_in_Chatlog_Format&amp;diff=873032"/>
		<updated>2010-04-21T03:31:28Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;There&amp;#039;s some pretty terrible LSL implementations out there for getting the 24 hour time as reported by Second Life. There&amp;#039;s no reason to use a list or conditionals. This one&amp;#039;s Go...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;There&#039;s some pretty terrible LSL implementations out there for getting the 24 hour time as reported by Second Life. There&#039;s no reason to use a list or conditionals. This one&#039;s Good.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
string vsGetSLClock() {&lt;br /&gt;
    integer time = (integer) llGetWallclock(); &lt;br /&gt;
    integer hours = time / 3600;&lt;br /&gt;
    integer minutes = (time / 60) % 60  ;&lt;br /&gt;
    return llGetSubString(&amp;quot;0&amp;quot;+(string)hours,-2,-1)+&amp;quot;:&amp;quot;+&lt;br /&gt;
    llGetSubString(&amp;quot;0&amp;quot;+(string)minutes,-2,-1);&lt;br /&gt;
    }&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873022</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873022"/>
		<updated>2010-04-21T03:22:04Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/How to get the SL Time in Chatlog Format]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON]]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/Fastest_And_Probably_Most_Efficient_Way_To_Reverse_a_List_(in_Mono)&amp;diff=873012</id>
		<title>User:Vegas Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/Fastest_And_Probably_Most_Efficient_Way_To_Reverse_a_List_(in_Mono)&amp;diff=873012"/>
		<updated>2010-04-21T03:21:00Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;As Seen in Scripts  &amp;lt;lsl&amp;gt; list newlist; list oldlist = [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;];  while(oldlist !=[]) {newlist+=llList2List(oldlist,-1,-1);oldlist = llDeleteSubList(oldlist,-1,-1);}  // old...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;As Seen in Scripts&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
list newlist;&lt;br /&gt;
list oldlist = [&amp;quot;a&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;c&amp;quot;];&lt;br /&gt;
&lt;br /&gt;
while(oldlist !=[]) {newlist+=llList2List(oldlist,-1,-1);oldlist = llDeleteSubList(oldlist,-1,-1);}&lt;br /&gt;
&lt;br /&gt;
// oldlist is now empty, newlist is [&amp;quot;c&amp;quot;,&amp;quot;b&amp;quot;,&amp;quot;a&amp;quot;]&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873002</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=873002"/>
		<updated>2010-04-21T03:18:08Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/Fastest And Probably Most Efficient Way To Reverse a List (in Mono)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON]]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=866392</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=866392"/>
		<updated>2010-04-16T03:33:01Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/LSL to JSON]]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/llHTTPRequest_Pro_Tip(s)&amp;diff=866382</id>
		<title>User:Vegas Silverweb/llHTTPRequest Pro Tip(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb/llHTTPRequest_Pro_Tip(s)&amp;diff=866382"/>
		<updated>2010-04-16T03:31:47Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;Pro Tip!  llHTTPRequest can return null key. Means you&amp;#039;re llHTTPRequest-ing too fast, generally. To keep it reliable, you need to do something like this:    &amp;lt;lsl&amp;gt;      key req;  ...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pro Tip!&lt;br /&gt;
&lt;br /&gt;
llHTTPRequest can return null key. Means you&#039;re llHTTPRequest-ing too fast, generally. To keep it reliable, you need to do something like this:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
     key req;&lt;br /&gt;
         while(NULL_KEY == req=llHTTPRequest(&amp;quot;http://example.com/&amp;quot;,[],&amp;quot;&amp;quot;)) {&lt;br /&gt;
            llOwnerSay(&amp;quot;uh oh throttle&amp;quot;);&lt;br /&gt;
            llSleep(5.0);&lt;br /&gt;
            &lt;br /&gt;
            }&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sleep should probably be longer, perhaps 20 seconds. Even better, defer the HTTP request for 10 or 20 seconds with a timer so your event queue can be serviced while the llHTTPRequest throttle is in effect.&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=866372</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=866372"/>
		<updated>2010-04-16T03:31:00Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[User:Vegas_Silverweb/llHTTPRequest Pro Tip(s)]]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=LlHTTPRequest_Pro_Tip(s)&amp;diff=866232</id>
		<title>LlHTTPRequest Pro Tip(s)</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=LlHTTPRequest_Pro_Tip(s)&amp;diff=866232"/>
		<updated>2010-04-16T02:05:32Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;Pro Tip!  llHTTPRequest can return null key. Means you&amp;#039;re llHTTPRequest-ing too fast, generally. To keep it reliable, you need to do something like this:    &amp;lt;lsl&amp;gt;      key req;  ...&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Pro Tip!&lt;br /&gt;
&lt;br /&gt;
llHTTPRequest can return null key. Means you&#039;re llHTTPRequest-ing too fast, generally. To keep it reliable, you need to do something like this:  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
     key req;&lt;br /&gt;
         while(NULL_KEY == req=llHTTPRequest(&amp;quot;http://example.com/&amp;quot;,[],&amp;quot;&amp;quot;)) {&lt;br /&gt;
            llOwnerSay(&amp;quot;uh oh throttle&amp;quot;);&lt;br /&gt;
            llSleep(5.0);&lt;br /&gt;
            &lt;br /&gt;
            }&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The sleep should probably be longer, perhaps 20 seconds. Even better, defer the HTTP request for 10 or 20 seconds with a timer so your event queue can be serviced while the llHTTPRequest throttle is in effect.&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=866112</id>
		<title>User:Vegas Silverweb</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Vegas_Silverweb&amp;diff=866112"/>
		<updated>2010-04-16T01:32:14Z</updated>

		<summary type="html">&lt;p&gt;Vegas Silverweb: Created page with &amp;#039;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.   llHTTPRequest Pro Tip(s)&amp;#039;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Hi. This is where I keep stuff of interest, probably mostly of interest to LSL scripters.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[llHTTPRequest Pro Tip(s)]]&lt;/div&gt;</summary>
		<author><name>Vegas Silverweb</name></author>
	</entry>
</feed>