Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Running A Basic Script Problem

Anytus Theas
Registered User
Join date: 6 Mar 2007
Posts: 2
03-06-2007 07:31
I started palying this game last saturday and I am interested to know how to run scripts.
This is what I did and did not work:
I created a sphere. I went to the place where you add a script and added this code:

default
{
state_entry()
{
llSay( 0, "Hello, Avatar!";);
}

touch_start(integer total_number)
{
llSay( 0, "Touched.";);
}
}



I closed out the create/edit window. When I click the sphere nothing happens. Do I need to do anything special for the script to do something? Are there areas in Second life where scripting is not allowed?

Thank you for your help!

Anytus
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
03-06-2007 07:41
YES, Land Owners can restrict the ability to run scripts on their land.
Also check that the script running check box is selected.
Anytus Theas
Registered User
Join date: 6 Mar 2007
Posts: 2
Thanks
03-06-2007 07:53
Thanks a lot!

I was going crazy trying to get the sphere to talk!