Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Do something for someone on touch Once and Once only

Ginge Reymont
Registered User
Join date: 10 Oct 2005
Posts: 190
12-19-2005 14:18
CODE

list before;
default
{
touch_start(integer total_number)
{
if(llListFindList(before,[llDetectedKey(0)]) != -1)
{
llSay(0,"Youve already had your free gift!");
}
if(llListFindList(before,[llDetectedKey(0)]) == -1)
{
before += llDetectedKey(0);
llSay(0,"Here is your free gift!");
}


}
}
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
Discussion Thread
12-19-2005 20:15
/54/2b/78428/1.html
_____________________
i've got nothing. ;)