<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://digigrids.free.fr/wiki/skins//common/feed.css?207"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>OSSL Script Library/Simple Notecard Reader - Historique des versions</title>
		<link>http://digigrids.free.fr/wiki/index.php?title=OSSL_Script_Library/Simple_Notecard_Reader&amp;action=history</link>
		<description>Historique pour cette page sur le wiki</description>
		<language>fr</language>
		<generator>MediaWiki 1.15.1</generator>
		<lastBuildDate>Sun, 31 May 2026 18:28:35 GMT</lastBuildDate>
		<item>
			<title>Djphil&amp;nbsp;:&amp;#32;Page créée avec « This script is intended to demonstrate the use of osGetNotecard* functions in OSSL. They can (and should) be used to eliminate the dataserver hell that LSL puts a scripter th… »</title>
			<link>http://digigrids.free.fr/wiki/index.php?title=OSSL_Script_Library/Simple_Notecard_Reader&amp;diff=4547&amp;oldid=prev</link>
			<description>&lt;p&gt;Page créée avec « This script is intended to demonstrate the use of osGetNotecard* functions in OSSL. They can (and should) be used to eliminate the dataserver hell that LSL puts a scripter th… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This script is intended to demonstrate the use of osGetNotecard* functions in OSSL. They can (and should) be used to eliminate the dataserver hell that LSL puts a scripter through.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;lsl&amp;gt;&lt;br /&gt;
string NoteCardName = &amp;quot;testcard&amp;quot;;&lt;br /&gt;
integer n;&lt;br /&gt;
&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        string NoteCardContents = osGetNotecard(NoteCardName); //Read the notecard, and store its contents in a string&lt;br /&gt;
        llOwnerSay(NoteCardContents); // Read the string to the owner of the object&lt;br /&gt;
        &lt;br /&gt;
    }&lt;br /&gt;
    &lt;br /&gt;
    touch_start(integer numdet)&lt;br /&gt;
    {&lt;br /&gt;
        integer NumLines = osGetNumberOfNotecardLines(NoteCardName);  // Get the number of lines in the notecard&lt;br /&gt;
        for(n=0;n&amp;lt;NumLines;++n)&lt;br /&gt;
        {&lt;br /&gt;
            string NoteCardLine = osGetNotecardLine(NoteCardName,n); // Read a single line from the notecard, and store it/&lt;br /&gt;
            llOwnerSay(NoteCardLine);   // Read the single line to the object's owner&lt;br /&gt;
        }        &lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/lsl&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Scripts]]&lt;/div&gt;</description>
			<pubDate>Thu, 12 Apr 2012 04:54:33 GMT</pubDate>			<dc:creator>Djphil</dc:creator>			<comments>http://digigrids.free.fr/wiki/index.php?title=Discussion:OSSL_Script_Library/Simple_Notecard_Reader</comments>		</item>
	</channel>
</rss>