Difference between revisions of "Hello Avatar"

From Second Life Wiki
Jump to navigation Jump to search
m (Add a comment up front to explain the code)
m (ouch strike one garbage char that slipped in somehow)
Line 1: Line 1:
{{LSL Header}}
{{LSL Header}}


�The script you get from the SL GUI, when first you ask to create a New Script in an object or in your inventory, was this script, as of 2007-08:
The script you get from the SL GUI, when first you ask to create a New Script in an object or in your inventory, was this script, as of 2007-08:


<pre>
<pre>

Revision as of 18:57, 6 September 2007

The script you get from the SL GUI, when first you ask to create a New Script in an object or in your inventory, was this script, as of 2007-08:

default
{
    state_entry()
    {
        llSay(0, "Hello, Avatar!");
    }

    touch_start(integer total_number)
    {
        llSay(0, "Touched.");
    }
}