Second Life/Scripte

From S23Wiki
Jump to: navigation, search

see also Second Life

Man kann sehr einfach Scripte schreiben und mit dem Rest des Internets in verbindung tretten.

Beispiele

Mail mit Username senden + Url in Browser öffnen

default
{
    state_entry()
    {
        llEmail("fnord@s23.org", "Second-Life - User near HelloWorldObject", "fnord");
        llSay(0, "Welcome stranger,\nyou have reached...");
        llSetText("Welcome stranger", <255,255,255>, 1.0);
    }

    touch_start(integer total_number)
    {
        llEmail("fnord@s23.org", "Second-Life - HelloWorldObject touched", "User-Name: "+llKey2Name(llDetectedKey(0))+"\n");
        llLoadURL(llDetectedKey(0), "You will be redirected to www.s23.org", "http://www.s23.org/wiki/SecondLive");
    }
}


Scripting - Wiki

<rss>http://wiki.slinfo.de/xml/recentchanges_deutschessecondlifelsl.xml</rss>