Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

note card giver

MERLIN Collins
Registered User
Join date: 10 Sep 2007
Posts: 1
12-18-2007 11:24
need help on creating a note card giver am opening a shop and would like to have a buisness card that when touched would give a note and lm tomy store any help would be appreciated merl
Okiphia Rayna
DemonEye Benefactor
Join date: 22 Sep 2007
Posts: 2,103
12-18-2007 11:29
From: MERLIN Collins
need help on creating a note card giver am opening a shop and would like to have a buisness card that when touched would give a note and lm tomy store any help would be appreciated merl

well..just make a sign essentially.. then put this script in it, as well as the notecard and LM

CODE

default
{
state_entry()
{
llSay(0,"Working");
}
touch_start(integer number)
{
llGiveInventory(llDetectedKey(0),"Notecard Name");
llGiveInventory(llDetectedKey(0),"Landmark Name");
}
}


I believe that would work
_____________________
Owner of DemonEye Designs Custom Building and Landscaping
Owner and Blogger, Okiphia's Life
http://okiphiablog.blogspot.com/
Eyerocker Picket
Imaginary Menagerie Mgr.
Join date: 18 Sep 2006
Posts: 151
12-18-2007 11:33
From: MERLIN Collins
need help on creating a note card giver am opening a shop and would like to have a buisness card that when touched would give a note and lm tomy store any help would be appreciated merl


uhmm Merlin you might wanna post this in the scripting thread.

/me puts on helmet and hides in the corner with popcorn to watch this thread....

oh and btw send me an im and I'll drop one on you in about 5 hours when i get home.
Void Singer
Int vSelf = Sing(void);
Join date: 24 Sep 2005
Posts: 6,973
12-18-2007 22:40
Okiphia got it basicly, but I'd just drop the landmark in the notecard, so that llGiveinventory doesn't put them in separate folders... and add a line
llInstantMessage( llDetectedKey( 0 ), "Note with landmark delivered to your Notecards folder" );
_____________________
|
| . "Cat-Like Typing Detected"
| . This post may contain errors in logic, spelling, and
| . grammar known to the SL populace to cause confusion
|
| - Please Use PHP tags when posting scripts/code, Thanks.
| - Can't See PHP or URL Tags Correctly? Check Out This Link...
| -