
Warning: Undefined array key "media" in /volume1/web/wiki/feed.php on line 235

Warning: Undefined array key "media" in /volume1/web/wiki/feed.php on line 274

Warning: Undefined array key "media" in /volume1/web/wiki/feed.php on line 385
<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="http://live.spdns.org/wiki/lib/exe/css.php?s=feed" type="text/css"?>
<rss version="2.0">
    <channel xmlns:g="http://base.google.com/ns/1.0">
        <title>move IT Home Base</title>
        <description></description>
        <link>http://live.spdns.org/wiki/</link>
        <lastBuildDate>Sat, 04 Apr 2026 10:34:50 +0000</lastBuildDate>
        <generator>FeedCreator 1.8</generator>
        <image>
            <url>http://live.spdns.org/wiki/lib/tpl/peanutbutter2/images/favicon.ico</url>
            <title>move IT Home Base</title>
            <link>http://live.spdns.org/wiki/</link>
        </image>
        <item>
            <title>Pacman</title>
            <link>http://live.spdns.org/wiki/archiv/opensim/downloads/scripts/pacman?do=revisions&amp;rev=1575021521</link>
            <description>
&lt;h2 class=&quot;sectionedit1&quot; id=&quot;pacman&quot;&gt;Pacman&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Pacman&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;pacman&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:1,&amp;quot;range&amp;quot;:&amp;quot;1-20&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit2&quot; id=&quot;game&quot;&gt;Game&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;// open pacman game server script by kefcom belgium (kefcom@hotmail.com)

string currentplayer;
integer score;
integer maxscore;
integer timesplayed;
integer timecounter;
string playername1;
string playername2;
string playername3;
string playername4;
string playername5;
integer playerscore1;
integer playerscore2;
integer playerscore3;
integer playerscore4;
integer playerscore5;
integer maxtime;

default
{
    state_entry()
    {
 
  //////////////////////////////////////////////////////////////////////////////////////
        maxscore = 137; //change this value to the number of balls you have on the field
        maxtime = 500;
/////////////////////////////////////////////////////////////////////////////////////
 
        playername1 = &amp;quot;nobody&amp;quot;;
        playername2 = &amp;quot;nobody&amp;quot;;
        playername3 = &amp;quot;nobody&amp;quot;;
        playername4 = &amp;quot;nobody&amp;quot;;
        playername5 = &amp;quot;nobody&amp;quot;;
        playerscore1 = 300;
        playerscore2 = 300;
        playerscore3 = 300;
        playerscore4 = 300;
        playerscore5 = 300;
        timesplayed = 0;
        score = 0;
        llSetText(&amp;quot;Game Server&amp;quot;, &amp;lt;1,1,1&amp;gt;,1.0);
        llListen(1966, &amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);
    }
   
    listen( integer channel, string name, key id, string msg)
    {
        if(msg==&amp;quot;STOP&amp;quot;)
        {
            llSetTimerEvent(0);
            llSay(0, &amp;quot;Game stopped!&amp;quot;);
            timecounter = 0;
            score = 0;
            currentplayer = &amp;quot;nobody&amp;quot;;
            llSetText(&amp;quot;Game Server, click for stats&amp;quot;, &amp;lt;1,1,1&amp;gt;,1.0);
        }
        if(msg==&amp;quot;START&amp;quot;)
        {
            score = 0;
            llSetText(&amp;quot;Score: &amp;quot; + (string) score, &amp;lt;1,1,1&amp;gt;, 1.0);
            currentplayer = name;
            timecounter = 0;
            timesplayed = timesplayed + 1;
            llSetTimerEvent(1);
        }
        if(msg==&amp;quot;POINTS!&amp;quot;)
        {
            score = score + 1;
            llSetText(&amp;quot;Score: &amp;quot; + (string) score, &amp;lt;1,1,1&amp;gt;, 1.0);
            if(score &amp;gt;= maxscore)
            {
                //GAME OVER!
                llShout(0, &amp;quot;Game over&amp;quot;);
                llSetTimerEvent(0);
                llShout(0, &amp;quot;You needed &amp;quot; + (string) timecounter + &amp;quot; Seconds to complete the game!&amp;quot;);
                llSetText(&amp;quot;Game Server, Click me for stats&amp;quot;, &amp;lt;1,1,1&amp;gt;, 1.0);
               
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// CALCULATE PLACE IN TOP 5 ////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
               
if(timecounter &amp;lt; playerscore5)
{
    if(timecounter &amp;lt; playerscore4)
    {
        if(timecounter &amp;lt; playerscore3)
        {
            if(timecounter &amp;lt; playerscore2)
            {
                if(timecounter &amp;lt; playerscore1)
                {
                    //first place
                    playerscore5 = playerscore4;
                    playerscore4 = playerscore3;
                    playerscore3 = playerscore2;
                    playerscore2 = playerscore1;
                    playerscore1 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = playername3;
                    playername3 = playername2;
                    playername2 = playername1;
                    playername1 = currentplayer;
               
                    llSay(0, &amp;quot;You are in first place on the scoreboard!&amp;quot;);
                }else{
                    //second place
                    playerscore5 = playerscore4;
                    playerscore4 = playerscore3;
                    playerscore3 = playerscore2;
                    playerscore2 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = playername3;
                    playername3 = playername2;
                    playername2 = currentplayer;
               
                    llSay(0, &amp;quot;You are in second place on the scoreboard!&amp;quot;);                                  }
            }else{
                    //third place
                    playerscore5 = playerscore4;
                    playerscore4 = playerscore3;
                    playerscore3 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = playername3;
                    playername3 = currentplayer;
               
                    llSay(0, &amp;quot;You are in third place on the scoreboard!&amp;quot;);                 
            }
        }else{
                    //fourth place
                    playerscore5 = playerscore4;
                    playerscore4 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = currentplayer;
               
                    llSay(0, &amp;quot;You are in fourth place on the scoreboard!&amp;quot;);                 
        }
    }else{
                    //fifth place
                    playerscore5 = timecounter;
                   
                    playername5 = currentplayer;
               
                    llSay(0, &amp;quot;You are in fifth place on the scoreboard!&amp;quot;);                 
    }
}else{
    llSay(0, &amp;quot;You were not fast enough to get on the scoreboard&amp;quot;);
}
               
               
               
               
               
               
            }
        }
    }
   
    touch_start(integer numdetected)
    {
        //TYPE SCORE LIST!!!
        llSay(0, &amp;quot;SCORE LIST:&amp;quot;);
        llSay(0, &amp;quot;1. &amp;quot; + playername1 + &amp;quot; - &amp;quot; + (string) playerscore1 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;2. &amp;quot; + playername2 + &amp;quot; - &amp;quot; + (string) playerscore2 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;3. &amp;quot; + playername3 + &amp;quot; - &amp;quot; + (string) playerscore3 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;4. &amp;quot; + playername4 + &amp;quot; - &amp;quot; + (string) playerscore4 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;5. &amp;quot; + playername5 + &amp;quot; - &amp;quot; + (string) playerscore5 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;Game has been played &amp;quot; + (string) timesplayed + &amp;quot; times since reset&amp;quot;);
    }
   
    timer()
    {
        timecounter = timecounter + 1;
        if(timecounter &amp;gt;= maxtime)
        {
            llShout(1966, &amp;quot;STOP&amp;quot;);
            llSay (0, &amp;quot;Game over due to timeout...&amp;quot;);
            llSetTimerEvent(0);
            llSetText(&amp;quot;Game Server, Touch for stats&amp;quot;, &amp;lt;1,1,1&amp;gt;, 1.0);
        }
    }
   
}&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Game&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;game&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:0,&amp;quot;secid&amp;quot;:2,&amp;quot;range&amp;quot;:&amp;quot;21-6350&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit3&quot; id=&quot;yellow_balls&quot;&gt;Yellow Balls&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;// open pacman game server script by kefcom belgium (kefcom@hotmail.com)

string currentplayer;
integer score;
integer maxscore;
integer timesplayed;
integer timecounter;
string playername1;
string playername2;
string playername3;
string playername4;
string playername5;
integer playerscore1;
integer playerscore2;
integer playerscore3;
integer playerscore4;
integer playerscore5;
integer maxtime;

default
{
    state_entry()
    {
 
  //////////////////////////////////////////////////////////////////////////////////////
        maxscore = 137; //change this value to the number of balls you have on the field
        maxtime = 500;
/////////////////////////////////////////////////////////////////////////////////////
 
        playername1 = &amp;quot;nobody&amp;quot;;
        playername2 = &amp;quot;nobody&amp;quot;;
        playername3 = &amp;quot;nobody&amp;quot;;
        playername4 = &amp;quot;nobody&amp;quot;;
        playername5 = &amp;quot;nobody&amp;quot;;
        playerscore1 = 300;
        playerscore2 = 300;
        playerscore3 = 300;
        playerscore4 = 300;
        playerscore5 = 300;
        timesplayed = 0;
        score = 0;
        llSetText(&amp;quot;Game Server&amp;quot;, &amp;lt;1,1,1&amp;gt;,1.0);
        llListen(1966, &amp;quot;&amp;quot;,&amp;quot;&amp;quot;,&amp;quot;&amp;quot;);
    }
   
    listen( integer channel, string name, key id, string msg)
    {
        if(msg==&amp;quot;STOP&amp;quot;)
        {
            llSetTimerEvent(0);
            llSay(0, &amp;quot;Game stopped!&amp;quot;);
            timecounter = 0;
            score = 0;
            currentplayer = &amp;quot;nobody&amp;quot;;
            llSetText(&amp;quot;Game Server, click for stats&amp;quot;, &amp;lt;1,1,1&amp;gt;,1.0);
        }
        if(msg==&amp;quot;START&amp;quot;)
        {
            score = 0;
            llSetText(&amp;quot;Score: &amp;quot; + (string) score, &amp;lt;1,1,1&amp;gt;, 1.0);
            currentplayer = name;
            timecounter = 0;
            timesplayed = timesplayed + 1;
            llSetTimerEvent(1);
        }
        if(msg==&amp;quot;POINTS!&amp;quot;)
        {
            score = score + 1;
            llSetText(&amp;quot;Score: &amp;quot; + (string) score, &amp;lt;1,1,1&amp;gt;, 1.0);
            if(score &amp;gt;= maxscore)
            {
                //GAME OVER!
                llShout(0, &amp;quot;Game over&amp;quot;);
                llSetTimerEvent(0);
                llShout(0, &amp;quot;You needed &amp;quot; + (string) timecounter + &amp;quot; Seconds to complete the game!&amp;quot;);
                llSetText(&amp;quot;Game Server, Click me for stats&amp;quot;, &amp;lt;1,1,1&amp;gt;, 1.0);
               
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// CALCULATE PLACE IN TOP 5 ////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
               
if(timecounter &amp;lt; playerscore5)
{
    if(timecounter &amp;lt; playerscore4)
    {
        if(timecounter &amp;lt; playerscore3)
        {
            if(timecounter &amp;lt; playerscore2)
            {
                if(timecounter &amp;lt; playerscore1)
                {
                    //first place
                    playerscore5 = playerscore4;
                    playerscore4 = playerscore3;
                    playerscore3 = playerscore2;
                    playerscore2 = playerscore1;
                    playerscore1 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = playername3;
                    playername3 = playername2;
                    playername2 = playername1;
                    playername1 = currentplayer;
               
                    llSay(0, &amp;quot;You are in first place on the scoreboard!&amp;quot;);
                }else{
                    //second place
                    playerscore5 = playerscore4;
                    playerscore4 = playerscore3;
                    playerscore3 = playerscore2;
                    playerscore2 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = playername3;
                    playername3 = playername2;
                    playername2 = currentplayer;
               
                    llSay(0, &amp;quot;You are in second place on the scoreboard!&amp;quot;);                                  }
            }else{
                    //third place
                    playerscore5 = playerscore4;
                    playerscore4 = playerscore3;
                    playerscore3 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = playername3;
                    playername3 = currentplayer;
               
                    llSay(0, &amp;quot;You are in third place on the scoreboard!&amp;quot;);                 
            }
        }else{
                    //fourth place
                    playerscore5 = playerscore4;
                    playerscore4 = timecounter;
                   
                    playername5 = playername4;
                    playername4 = currentplayer;
               
                    llSay(0, &amp;quot;You are in fourth place on the scoreboard!&amp;quot;);                 
        }
    }else{
                    //fifth place
                    playerscore5 = timecounter;
                   
                    playername5 = currentplayer;
               
                    llSay(0, &amp;quot;You are in fifth place on the scoreboard!&amp;quot;);                 
    }
}else{
    llSay(0, &amp;quot;You were not fast enough to get on the scoreboard&amp;quot;);
}
               
               
               
               
               
               
            }
        }
    }
   
    touch_start(integer numdetected)
    {
        //TYPE SCORE LIST!!!
        llSay(0, &amp;quot;SCORE LIST:&amp;quot;);
        llSay(0, &amp;quot;1. &amp;quot; + playername1 + &amp;quot; - &amp;quot; + (string) playerscore1 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;2. &amp;quot; + playername2 + &amp;quot; - &amp;quot; + (string) playerscore2 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;3. &amp;quot; + playername3 + &amp;quot; - &amp;quot; + (string) playerscore3 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;4. &amp;quot; + playername4 + &amp;quot; - &amp;quot; + (string) playerscore4 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;5. &amp;quot; + playername5 + &amp;quot; - &amp;quot; + (string) playerscore5 + &amp;quot; seconds.&amp;quot;);
        llSay(0, &amp;quot;Game has been played &amp;quot; + (string) timesplayed + &amp;quot; times since reset&amp;quot;);
    }
   
    timer()
    {
        timecounter = timecounter + 1;
        if(timecounter &amp;gt;= maxtime)
        {
            llShout(1966, &amp;quot;STOP&amp;quot;);
            llSay (0, &amp;quot;Game over due to timeout...&amp;quot;);
            llSetTimerEvent(0);
            llSetText(&amp;quot;Game Server, Touch for stats&amp;quot;, &amp;lt;1,1,1&amp;gt;, 1.0);
        }
    }
   
}&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Yellow Balls&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;yellow_balls&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:1,&amp;quot;secid&amp;quot;:3,&amp;quot;range&amp;quot;:&amp;quot;6351-12688&amp;quot;} --&gt;
&lt;h3 class=&quot;sectionedit4&quot; id=&quot;start_button&quot;&gt;Start Button&lt;/h3&gt;
&lt;div class=&quot;level3&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;// open pacman game by kefcom belgium (kefcom@hotmail.com)

default
{
    state_entry()
    {
        llSetText(&amp;quot;Klick me to play&amp;quot;, &amp;lt;1,1,1&amp;gt;,1.0);
    }
    touch_start(integer num_detected)
    {
        llDialog(llDetectedKey(0), &amp;quot;Press Start to play&amp;quot;, [&amp;quot;START&amp;quot;, &amp;quot;STOP&amp;quot;],1966);
    }
}&lt;/pre&gt;

&lt;/div&gt;
&lt;!-- EDIT{&amp;quot;target&amp;quot;:&amp;quot;section&amp;quot;,&amp;quot;name&amp;quot;:&amp;quot;Start Button&amp;quot;,&amp;quot;hid&amp;quot;:&amp;quot;start_button&amp;quot;,&amp;quot;codeblockOffset&amp;quot;:2,&amp;quot;secid&amp;quot;:4,&amp;quot;range&amp;quot;:&amp;quot;12689-&amp;quot;} --&gt;</description>
            <author>anonymous@undisclosed.example.com (Anonymous)</author>
        <category>archiv:opensim:downloads:scripts</category>
            <pubDate>Fri, 29 Nov 2019 10:58:41 +0000</pubDate>
        </item>
    </channel>
</rss>
