aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/ScriptEngines/Default.lsl
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/ScriptEngines/Default.lsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/ScriptEngines/Default.lsl b/bin/ScriptEngines/Default.lsl
index 13c6803..6e362f8 100644
--- a/bin/ScriptEngines/Default.lsl
+++ b/bin/ScriptEngines/Default.lsl
@@ -1,3 +1,4 @@
1integer touch_count = 0;
1default { 2default {
2 state_entry() 3 state_entry()
3 { 4 {
@@ -6,6 +7,7 @@ default {
6 7
7 touch_start(integer total_number) 8 touch_start(integer total_number)
8 { 9 {
9 llSay(0, "Object was touched."); 10 touch_count++;
11 llSay(0, "Object was touched. Touch count: " + touch_count);
10 } 12 }
11} 13}