Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

I DID know how to make something talk

Cocoanut Koala
Coco's Cottages
Join date: 7 Feb 2005
Posts: 7,903
11-27-2005 19:15
Or at least I think I did! But now I can't find the script, or a script that works, to make an item talk when you click on it. By "talk," I don't mean I need to actual sound. I just need it to say something in chat.

Help please? (Again?)

coco
_____________________
VALENTINE BOUTIQUE
at Coco's Cottages

http://slurl.com/secondlife/Rosieri/85/166/87
Jillian Callahan
Rotary-winged Neko Girl
Join date: 24 Jun 2004
Posts: 3,766
11-27-2005 19:17
CODE
default
{
touch_start(integer n)
{
llSay(0, "I say this when touched.");
}
}
You get pretty much this when you click "New Script" in an object - saves on typing.
_____________________
Phoenix Byrd
Monkeh
Join date: 18 Mar 2005
Posts: 77
11-27-2005 19:18
default
{
touch_start(integer total_number)
{
llSay(0, "Weeee! Spank teh monkeh!";);
}
}
Cocoanut Koala
Coco's Cottages
Join date: 7 Feb 2005
Posts: 7,903
11-27-2005 19:22
Thanks, Jillian! And Phoenix!

coco
_____________________
VALENTINE BOUTIQUE
at Coco's Cottages

http://slurl.com/secondlife/Rosieri/85/166/87
Ben Bacon
Registered User
Join date: 14 Jul 2005
Posts: 809
11-28-2005 02:47
Three (3) points to Jillian for using [PHP] tags.
Five (5) points to Phoenix for spanking teh monkeh :D
Phoenix Byrd
Monkeh
Join date: 18 Mar 2005
Posts: 77
12-01-2005 11:31
YEA! In yo face Jillian!