Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting for Dummies 101

Patrick Playfair
Registered User
Join date: 19 Jul 2004
Posts: 328
11-09-2004 10:39
I am not much of a sceipter but need to perform a simple function and wonder if somone could post the info I need. I want an object, when clicked, to SAY in chat the name of the person who clicked it. I know it is simple, but I do not know how to get the name of the person who clicked it.

Thanks...
Wednesday Grimm
Ex Libris
Join date: 9 Jan 2003
Posts: 934
11-09-2004 11:27
Try this:
CODE

default
{
touch_start(integer n)
{
llSay(0, llDetectedName(0));
}
}
_____________________
Sarcasm meter:
0 |-----------------------*-| 10
Rating: Awww Jeeze!