Linden Scripting Language - Default LSL Script

Default LSL Script

The default script, "Hello, Avatar", a hello world program that speaks (streams message to local chat ("heard" (printed) by all viewers (clients) within 20 meters (3D virtual environment) of the task)) when the script is first saved, initialized or reset (in this case, since the command is in the default "state", the first to be run on initialization) or 'touched' (a simple user interaction usually initiated using a mouse click), looks like:

default { state_entry { llSay(0, "Hello, Avatar!"); } touch_start(integer total_number) { llSay(0, "Touched."); } }

Read more about this topic:  Linden Scripting Language

Famous quotes containing the words default and/or script:

    In default of inexhaustible happiness, eternal suffering would at least give us a destiny. But we do not even have that consolation, and our worst agonies come to an end one day.
    Albert Camus (1913–1960)

    Take what the old-church
    found in Mithra’s tomb,
    candle and script and bell,
    take what the new-church spat upon
    and broke and shattered.
    Hilda Doolittle (1886–1961)