Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Copy notification

Lewis Nerd
Nerd by name and nature!
Join date: 9 Oct 2005
Posts: 3,431
04-02-2006 15:09
I'm thinking of making something for free distribution, and would be interested to track how many people take copies of it.

Is it possible for when someone takes a copy of an object, a message is sent back to me to tell me a copy has been taken (name of taker not important but useful)?

Lewis
_____________________
Second Life Stratics - your new premier resource for all things Second Life. Free to join, sign up today!

Pocket Protector Projects - Rosieri 90,234,84 - building and landscaping services
Nepenthes Ixchel
Broadly Offended.
Join date: 6 Dec 2005
Posts: 696
04-02-2006 15:29
From: Lewis Nerd
I'm thinking of making something for free distribution, and would be interested to track how many people take copies of it.

Is it possible for when someone takes a copy of an object, a message is sent back to me to tell me a copy has been taken (name of taker not important but useful)?

Lewis


You could put in a simple script:

CODE

default
{
changed(integer change)
{
if (change && CHANGED_OWNER)
{
llInstantMessage(LewissKey, "I just got copied!");
llDeleteInventory(llScriptName());
}
}
}

(the code is rough and the function names not 100% accurate)

I'm not sure if this will produce false positives if someone gets the item and copys it in their inventory prior to rezzing it.
MadamG Zagato
means business
Join date: 17 Sep 2005
Posts: 1,402
04-02-2006 16:44
THat's a useful script! Thanks for posting it and thank you too Lewis for asking!

:) Smiles
_____________________