aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/bin/ScriptEngines/Default.lsl
blob: 6e362f88b5eb68fe2e2bb1de1dd02485b41a61bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
integer touch_count = 0;
default {
    state_entry()
    {
        llSay(0, "Hello, Avatar!");
    }

    touch_start(integer total_number)
    {
	touch_count++;
        llSay(0, "Object was touched. Touch count: " + touch_count);
    }
}