Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

There is probably a really easy answer - But I can't find it!!!

Nikky Beat
Registered User
Join date: 2 Oct 2006
Posts: 2
11-13-2006 13:43
HI ALL!

I have made an item that I want to sell in SL.

Its not the first I have made to sell.
But it is the first item I want to have open a note card as soon as people left click on the item.

I want to find the right script - but as much as I search - I cant!!!!

Please can someone help!!

So to recap - I know how to sell - thats not the problem
I want people to get a note card that I have already made, as soon as they click, have the notecard open in front of them - before they buy!!!

If someone can help I will be really gratefull!

Thanks

Hugs from Nikky
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-13-2006 13:58
It is easier to just make a prim with something like a question mark or "info" on it and place it by the item to be sold. Put this script inside:

CODE

default {
touch_start(integer num_detected) {
llGiveInventory(llDetectedKey(0),llGetInventoryName(INVENTORY_NOTECARD, 0));

}
}


That is from this page in the wiki:
http://www.lslwiki.com/lslwiki/wakka.php?wakka=llGiveInventory
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
11-13-2006 14:51
Jesse, I`m sorry, but I think I can do that without any script at all. I`m not in-world at the moment to test it, though. I`ll get back to you later, and let you know for sure.:)
_____________________
  1. ninjafoo Ng Says:
    November 4th, 2006 at 7:27 am
    We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?

Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
11-13-2006 15:11
From: Llauren Mandelbrot
Jesse, I`m sorry, but I think I can do that without any script at all. I`m not in-world at the moment to test it, though. I`ll get back to you later, and let you know for sure.:)


Ah I know what you are thinking and I had already checked. Select "Open" in the general tab of the edit window. But when you touch the object it will show the contents and give you a choice to open. It won't give you a notecard that opens automatically.

editted to clarify
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Llauren Mandelbrot
Twenty-Four Weeks Old.
Join date: 26 Apr 2006
Posts: 665
11-13-2006 15:20
I`m sorry, Jesse, but that is not what I was thinking.:) Close, but no cigar.:p
_____________________
  1. ninjafoo Ng Says:
    November 4th, 2006 at 7:27 am
    We all love secondlife so much and were afraid that the magic will end, nothing this good can ever last…. can it?