<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3ACow_Taurog%2FExchange_rate</id>
	<title>User:Cow Taurog/Exchange rate - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=User%3ACow_Taurog%2FExchange_rate"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Exchange_rate&amp;action=history"/>
	<updated>2026-04-17T21:53:45Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Exchange_rate&amp;diff=1151498&amp;oldid=prev</id>
		<title>Cow Taurog: oops, wrong license info</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Exchange_rate&amp;diff=1151498&amp;oldid=prev"/>
		<updated>2011-08-17T09:49:42Z</updated>

		<summary type="html">&lt;p&gt;oops, wrong license info&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:49, 17 August 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This script will say the current L$ exchange rate over public chat when touched.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This script will say the current L$ exchange rate over public chat when touched.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lsl&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;lsl&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// This &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;text &lt;/del&gt;is licensed under a Creative Commons Attribution&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-NonCommercial&lt;/del&gt;-ShareAlike 3.0 &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;United States &lt;/del&gt;License&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// This &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;work &lt;/ins&gt;is licensed under a Creative Commons Attribution-ShareAlike 3.0 &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Unported &lt;/ins&gt;License&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// http://creativecommons.org/licenses/by&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-nc&lt;/del&gt;-sa/3.0/&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// http://creativecommons.org/licenses/by-sa/3.0/&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Resale, or other commercial &lt;/del&gt;use is &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;prohibited&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Commercial &lt;/ins&gt;use is &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;allowed&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// Modification and/or distribution is allowed, as long as attribution for each revision is given, and the same license is used.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;// Modification and/or distribution is allowed, as long as attribution for each revision is given, and the same license is used.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;//&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cow Taurog</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Exchange_rate&amp;diff=1151496&amp;oldid=prev</id>
		<title>Cow Taurog: create new page</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=User:Cow_Taurog/Exchange_rate&amp;diff=1151496&amp;oldid=prev"/>
		<updated>2011-08-17T09:16:21Z</updated>

		<summary type="html">&lt;p&gt;create new page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This script will say the current L$ exchange rate over public chat when touched.&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
// This text is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 United States License.&lt;br /&gt;
// http://creativecommons.org/licenses/by-nc-sa/3.0/&lt;br /&gt;
// Resale, or other commercial use is prohibited.&lt;br /&gt;
// Modification and/or distribution is allowed, as long as attribution for each revision is given, and the same license is used.&lt;br /&gt;
//&lt;br /&gt;
// Cow Taurog&amp;#039;s L$ exchange rate finder, v1.0&lt;br /&gt;
//&lt;br /&gt;
// This script will say the current exchange rate of L$ per USD over public chat when touched by anyone&lt;br /&gt;
// There are no options to change, but feel free to change the code, as long as you abide by the license&lt;br /&gt;
//&lt;br /&gt;
string gsURL=&amp;quot;http://secondlife.com/httprequest/homepage.php&amp;quot;; // URL of LL&amp;#039;s data feed&lt;br /&gt;
list glRaw; // Storage of the entire data feed&lt;br /&gt;
key gkReq; // Handler for the HTTP request&lt;br /&gt;
default{&lt;br /&gt;
    on_rez(integer param){llResetScript();} // reset when rezzed&lt;br /&gt;
    changed(integer change){if(change&amp;amp;CHANGED_OWNER){llResetScript();}} // reset when owner changes&lt;br /&gt;
    touch_start(integer num){ // when touched by anybody...&lt;br /&gt;
        gkReq=llHTTPRequest(gsURL,[],&amp;quot;&amp;quot;); // load the URL&lt;br /&gt;
    }&lt;br /&gt;
    http_response(key req,integer status,list meta,string mess){if(req==gkReq){ // when the URL is loaded...&lt;br /&gt;
        glRaw=llParseString2List(mess,[&amp;quot;\n&amp;quot;],[]); // store the entire contents into a list&lt;br /&gt;
        integer iL=(llListFindList(glRaw,[&amp;quot;exchange_rate&amp;quot;]))+1; // find the entry named &amp;#039;exchange_rate&amp;#039;, the actual rate is next in the list&lt;br /&gt;
        llSay(0,&amp;quot;Current exchange rate: L$&amp;quot;+(string)llRound(llList2Float(glRaw,iL))+&amp;quot; per $1 USD.&amp;quot;); // round off the data to the nearest L$, and say it over public chat&lt;br /&gt;
    }}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;/div&gt;</summary>
		<author><name>Cow Taurog</name></author>
	</entry>
</feed>