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)

    ...he sent letters to all the royal provinces, to every province in its own script and to every people in its own language, declaring that every man should be master in his own house.
    Bible: Hebrew, Esther 1:22.

    King Ahasuerus, after his Queen Vashti refused to come at the king’s command.