<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Komentáře k 21strom OpenSim &#124; 21strom OpenSim</title>
	<atom:link href="https://opensim.21strom.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://opensim.21strom.com</link>
	<description></description>
	<lastBuildDate>Thu, 23 Apr 2015 07:50:29 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Zuza Ritt</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-922</link>
		<dc:creator>Zuza Ritt</dc:creator>
		<pubDate>Thu, 23 Apr 2015 07:50:29 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-922</guid>
		<description><![CDATA[Araminta, thanks for your modification. 
Replies are not automatically published because of big amount of spam. I let both your comments here, full script and changed lines only, hope it is OK for you:)]]></description>
		<content:encoded><![CDATA[<p>Araminta, thanks for your modification.<br />
Replies are not automatically published because of big amount of spam. I let both your comments here, full script and changed lines only, hope it is OK for you:)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Araminta Hexx</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-921</link>
		<dc:creator>Araminta Hexx</dc:creator>
		<pubDate>Thu, 23 Apr 2015 03:15:19 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-921</guid>
		<description><![CDATA[Not quite sure what happened to my reply. I did use the code attribute. Hmm. So, in short....

Input strings at the top of the script:

string google_formkey = &quot;XXXXXXXXXXXXXXXX&quot;; //MUST REPLACE with your own Google form key
string location_key = &quot;entry.XXXX&quot;; // Replace with the location field key
string avatar_key = &quot;entry.XXXX&quot;; // Replace with the avatar field key

Output string at the bottom of the script:

string URL = &quot;https://docs.google.com/forms/d/&quot; + google_formkey + &quot;/formResponse&quot; + &quot;?&quot; + avatar_key + &quot;=&quot; + detected_name + &quot;&amp;&quot; + location_key + &quot;=&quot; + region_name + &quot;&amp;submit=Submit&quot;]]></description>
		<content:encoded><![CDATA[<p>Not quite sure what happened to my reply. I did use the code attribute. Hmm. So, in short&#8230;.</p>
<p>Input strings at the top of the script:</p>
<p>string google_formkey = &#8222;XXXXXXXXXXXXXXXX&#8220;; //MUST REPLACE with your own Google form key<br />
string location_key = &#8222;entry.XXXX&#8220;; // Replace with the location field key<br />
string avatar_key = &#8222;entry.XXXX&#8220;; // Replace with the avatar field key</p>
<p>Output string at the bottom of the script:</p>
<p>string URL = &#8222;https://docs.google.com/forms/d/&#8220; + google_formkey + &#8222;/formResponse&#8220; + &#8222;?&#8220; + avatar_key + &#8222;=&#8220; + detected_name + &#8222;&amp;&#8220; + location_key + &#8222;=&#8220; + region_name + &#8222;&amp;submit=Submit&#8220;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Araminta Hexx</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-920</link>
		<dc:creator>Araminta Hexx</dc:creator>
		<pubDate>Thu, 23 Apr 2015 03:10:48 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-920</guid>
		<description><![CDATA[I was on the right track with Maria&#039;s script, and had found the entry.XXXXX keys in the form just as you described, but I wasn&#039;t quite sure exactly where they needed to go until looking at your updated code. This post answered that question for me. Thank you!

I did modify a teensy bit so that the avatar and location form field variables are not hard-coded. This should make it easier for a novice to modify the script without accidentally futzing something up. :)

&lt;code&gt;
string google_formkey = &quot;XXXXXXXXXXXXXXXXX&quot;; //MUST REPLACE with your own Google form key
string location_key = &quot;entry.XXXXXXXXX&quot;; // Replace with the location field key
string avatar_key = &quot;entry.XXXXXXXXX&quot;; // Replace with the avatar field key

// Do not edit below this line unless you know what you&#039;re doing. :)

integer list_size = 10; //how many avatar names to keep in memory
float range = 96.0; // in meters
float rate = 1.0; // in seconds


// Script Name: Google Spreadsheet Visitor Recorder
// By Maria Korolov of Hypergrid Business
// Edited by Zuza Ritt in August 2013
// Adapted from Visitor_List_Maker.lsl 
// And from Hyperica Lookup HG Teleport Script (with code contributed by Paul Emery)

// This program is free software; you can redistribute it and/or modify it.

// Creative Commons licenses apply to all scripts from the Second Life
// wiki and script library and are Copyrighted by Linden Lab. See
// http://creativecommons.org/licenses/

// Please leave any author credits and headers intact in any script you use or publish.
// If you don&#039;t like these restrictions, then don&#039;t use these scripts.

// Global variables

list visitor_list;
string region_name;
integer len;

// Functions
integer isNameOnList( string name )
{
    len = llGetListLength( visitor_list );
    integer i;
    for( i = 0; i &lt; len; i++ )
    {
        if( llList2String(visitor_list, i) == name )
        {
            return TRUE;
        }
    }
    return FALSE;
}

// States
default
{
    state_entry()
    {
        llSay(0, &quot;Visitor recording script started...&quot;);
        llSensorRepeat( &quot;&quot;, &quot;&quot;, AGENT, range, TWO_PI, rate );
        llListen(0, &quot;&quot;, llGetOwner(), &quot;&quot;);
        region_name= llGetRegionName();
    }
                      
    sensor( integer number_detected )
    {
        integer i;
        for( i = 0; i  list_size)
        { visitor_list =  llDeleteSubList(visitor_list,0,0); }
            }
        }    
    }
}

// END //
&lt;/code&gt;]]></description>
		<content:encoded><![CDATA[<p>I was on the right track with Maria&#8217;s script, and had found the entry.XXXXX keys in the form just as you described, but I wasn&#8217;t quite sure exactly where they needed to go until looking at your updated code. This post answered that question for me. Thank you!</p>
<p>I did modify a teensy bit so that the avatar and location form field variables are not hard-coded. This should make it easier for a novice to modify the script without accidentally futzing something up. <img src='https://opensim.21strom.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><code><br />
string google_formkey = "XXXXXXXXXXXXXXXXX"; //MUST REPLACE with your own Google form key<br />
string location_key = "entry.XXXXXXXXX"; // Replace with the location field key<br />
string avatar_key = "entry.XXXXXXXXX"; // Replace with the avatar field key</p>
<p>// Do not edit below this line unless you know what you're doing. <img src='https://opensim.21strom.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>integer list_size = 10; //how many avatar names to keep in memory<br />
float range = 96.0; // in meters<br />
float rate = 1.0; // in seconds</p>
<p>// Script Name: Google Spreadsheet Visitor Recorder<br />
// By Maria Korolov of Hypergrid Business<br />
// Edited by Zuza Ritt in August 2013<br />
// Adapted from Visitor_List_Maker.lsl<br />
// And from Hyperica Lookup HG Teleport Script (with code contributed by Paul Emery)</p>
<p>// This program is free software; you can redistribute it and/or modify it.</p>
<p>// Creative Commons licenses apply to all scripts from the Second Life<br />
// wiki and script library and are Copyrighted by Linden Lab. See<br />
// <a href="http://creativecommons.org/licenses/" rel="nofollow">http://creativecommons.org/licenses/</a></p>
<p>// Please leave any author credits and headers intact in any script you use or publish.<br />
// If you don't like these restrictions, then don't use these scripts.</p>
<p>// Global variables</p>
<p>list visitor_list;<br />
string region_name;<br />
integer len;</p>
<p>// Functions<br />
integer isNameOnList( string name )<br />
{<br />
    len = llGetListLength( visitor_list );<br />
    integer i;<br />
    for( i = 0; i &lt; len; i++ )<br />
    {<br />
        if( llList2String(visitor_list, i) == name )<br />
        {<br />
            return TRUE;<br />
        }<br />
    }<br />
    return FALSE;<br />
}</p>
<p>// States<br />
default<br />
{<br />
    state_entry()<br />
    {<br />
        llSay(0, &quot;Visitor recording script started...&quot;);<br />
        llSensorRepeat( &quot;&quot;, &quot;&quot;, AGENT, range, TWO_PI, rate );<br />
        llListen(0, &quot;&quot;, llGetOwner(), &quot;&quot;);<br />
        region_name= llGetRegionName();<br />
    }</p>
<p>    sensor( integer number_detected )<br />
    {<br />
        integer i;<br />
        for( i = 0; i  list_size)<br />
        { visitor_list =  llDeleteSubList(visitor_list,0,0); }<br />
            }<br />
        }<br />
    }<br />
}</p>
<p>// END //<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Zuza Ritt</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-129</link>
		<dc:creator>Zuza Ritt</dc:creator>
		<pubDate>Thu, 17 Apr 2014 13:27:07 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-129</guid>
		<description><![CDATA[Hi Nick,
looks OK for me. Currently I am getting longer numbers as entry IDs, at least 10 digits, but it could be random. Hope you using OpenSim version in Opensim, not the SL one...
Is your script in Opensim starting? There is &quot;Visitor recording script started...&quot; in local chat, if script is running. You can restart the script in object or simply take it and rez again for restart of script.]]></description>
		<content:encoded><![CDATA[<p>Hi Nick,<br />
looks OK for me. Currently I am getting longer numbers as entry IDs, at least 10 digits, but it could be random. Hope you using OpenSim version in Opensim, not the SL one&#8230;<br />
Is your script in Opensim starting? There is &#8222;Visitor recording script started&#8230;&#8220; in local chat, if script is running. You can restart the script in object or simply take it and rez again for restart of script.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Nick Chater</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-124</link>
		<dc:creator>Nick Chater</dc:creator>
		<pubDate>Wed, 16 Apr 2014 14:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-124</guid>
		<description><![CDATA[Followed your instructions to the letter and I have tried out the script you said direct to the URL and it works but it does not work in OpenSim! Arghhh:

Is this bit wrong:

string URL = &quot;https://docs.google.com/forms/d/myidcodeinhere/formResponse?entry.387801594=&quot; + detected_name + &quot;&amp;entry.818337028=&quot; + region_name + &quot;&amp;submit=Submit&quot;;]]></description>
		<content:encoded><![CDATA[<p>Followed your instructions to the letter and I have tried out the script you said direct to the URL and it works but it does not work in OpenSim! Arghhh:</p>
<p>Is this bit wrong:</p>
<p>string URL = &#8222;https://docs.google.com/forms/d/myidcodeinhere/formResponse?entry.387801594=&#8220; + detected_name + &#8222;&amp;entry.818337028=&#8220; + region_name + &#8222;&amp;submit=Submit&#8220;;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Josh</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-74</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Thu, 23 Jan 2014 19:43:51 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-74</guid>
		<description><![CDATA[I&#039;ve got an idea, but not sure how to implement it.  we have a device that people have to click, either they say yes or they say no.  we have no way of logging who did what with it.  but I know it does say &quot;Thanks  for your answer.  we would like to collect this information into a google doc and found this script and we see it logs to the doc it&#039;s self with this script.  


So as I am code dumb, how would one modify this to listen to specific words and log them to the doc?]]></description>
		<content:encoded><![CDATA[<p>I&#8217;ve got an idea, but not sure how to implement it.  we have a device that people have to click, either they say yes or they say no.  we have no way of logging who did what with it.  but I know it does say &#8222;Thanks  for your answer.  we would like to collect this information into a google doc and found this script and we see it logs to the doc it&#8217;s self with this script.  </p>
<p>So as I am code dumb, how would one modify this to listen to specific words and log them to the doc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od harmar</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-66</link>
		<dc:creator>harmar</dc:creator>
		<pubDate>Sun, 08 Dec 2013 20:17:12 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-66</guid>
		<description><![CDATA[yes, I use the SL version]]></description>
		<content:encoded><![CDATA[<p>yes, I use the SL version</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Zuza Ritt</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-65</link>
		<dc:creator>Zuza Ritt</dc:creator>
		<pubDate>Sun, 08 Dec 2013 11:56:54 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-65</guid>
		<description><![CDATA[hi harmar, do you use the different version of script for SL?]]></description>
		<content:encoded><![CDATA[<p>hi harmar, do you use the different version of script for SL?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od harmar</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-64</link>
		<dc:creator>harmar</dc:creator>
		<pubDate>Sun, 08 Dec 2013 03:16:55 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-64</guid>
		<description><![CDATA[I seam to be getting an error as well, I receive a 400 error &quot;Your client has issued a malformed or illegal request.&quot; but it only happens from within SL. doing the link on its own on a browser works]]></description>
		<content:encoded><![CDATA[<p>I seam to be getting an error as well, I receive a 400 error &#8222;Your client has issued a malformed or illegal request.&#8220; but it only happens from within SL. doing the link on its own on a browser works</p>
]]></content:encoded>
	</item>
	<item>
		<title>Komentář k příspěvku Visitor counter + Google spreadsheet, update for 2013 od Rycon</title>
		<link>https://opensim.21strom.com/en/2013/visitor-counter-google-spreadsheet-update-for-2013/#comment-47</link>
		<dc:creator>Rycon</dc:creator>
		<pubDate>Sun, 13 Oct 2013 20:42:21 +0000</pubDate>
		<guid isPermaLink="false">http://opensim.21strom.com/?p=142#comment-47</guid>
		<description><![CDATA[i dont think so, but let me give it another go and if it doesnt work i&#039;ll send you my code in world so we can see whats going on.]]></description>
		<content:encoded><![CDATA[<p>i dont think so, but let me give it another go and if it doesnt work i&#8217;ll send you my code in world so we can see whats going on.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
