summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/skins/default/xui/en/floater_script_ed_prefs.xml7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/skins/default/xui/en/floater_script_ed_prefs.xml b/indra/newview/skins/default/xui/en/floater_script_ed_prefs.xml
index 5b2eb0820c..b76c34f4a0 100644
--- a/indra/newview/skins/default/xui/en/floater_script_ed_prefs.xml
+++ b/indra/newview/skins/default/xui/en/floater_script_ed_prefs.xml
@@ -346,12 +346,15 @@
cursor_color="ScriptCursorColor"
enable_tooltip_paste="true"
word_wrap="true">
+/* A sample script */
default
{
state_entry()
{
- llSay(0, "Hello!");
+ // Comment
+ string greeting = "Hello";
+ llSay(PUBLIC_CHANNEL, greeting);
}
}
</script_editor>
-</floater> \ No newline at end of file
+</floater>