Difference between revisions of "Hello Avatar Companion"
Jump to navigation
Jump to search
(Created page with '{{LSL Header|ml=*}} This script is the unofficial companion to the famous Hello Avatar script from Linden Lab. <lsl> default { state_entry() { llList...') |
m |
||
Line 2: | Line 2: | ||
This script is the unofficial companion to the famous [[Hello Avatar]] script from [[Linden Lab]]. | This script is the unofficial companion to the famous [[Hello Avatar]] script from [[Linden Lab]]. | ||
< | <source lang="lsl2"> | ||
Line 21: | Line 21: | ||
} | } | ||
</ | </source> | ||
{{#vardefine:sort|Hello Avatar Companion}}{{LSLC|Library}}{{LSLC|Examples}} | {{#vardefine:sort|Hello Avatar Companion}}{{LSLC|Library}}{{LSLC|Examples}} | ||
{{LSLC|Tutorials}} | {{LSLC|Tutorials}} |
Latest revision as of 12:27, 24 January 2015
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
This script is the unofficial companion to the famous Hello Avatar script from Linden Lab.
default
{
state_entry()
{
llListen(0,"","","");
}
listen(integer chan, string name, key id, string msg)
{
if (msg == "Hello, Avatar!")
{
llSay(0, "Hello, " + name + "!");
}
}
}