summaryrefslogtreecommitdiff
path: root/indra/newview/skins
diff options
context:
space:
mode:
authorCinder <cinder.roxley@phoenixviewer.com>2014-06-08 17:49:24 -0600
committerCinder <cinder.roxley@phoenixviewer.com>2014-06-08 17:49:24 -0600
commita9a117388681529cd3e532de698acb05f73abda6 (patch)
tree87d770af52ba386c5060fe551d445ab5dbb95ed8 /indra/newview/skins
parent904fd4245b517a44140a333a828d383ce4ed3005 (diff)
Update sample script in script colors floater
Diffstat (limited to 'indra/newview/skins')
-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>