Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

have object send email when copied

Treacly Brodsky
Pixel SLinger
Join date: 23 Jul 2004
Posts: 186
08-16-2006 16:50
Not necessary looking for a script, but a shove in the right direction would be nice. I'm looking to have an object email me every time it is copied. I guess there's not a "OnCopy" event so I was looking at the "changed" event and notice it can be raised when a notecard is edited. Could I prompt "would you like a copy of this box" and if yes it edits a notecard which raises the "changed" event then emails the name of the agent who answered yes? :confused: Thanks
_____________________
Silje Russell
lsl geek
Join date: 2 Oct 2005
Posts: 63
08-16-2006 17:31
on_rez event usly get trigerd on copy in world.

It happen when holding shift down and copy that way.. other then that you can make som "slippers" code i guess to find out if copy or not
_____________________
Yes i know i got typos..
I got writing and reading problems.
but i am still a humen!!
Treacly Brodsky
Pixel SLinger
Join date: 23 Jul 2004
Posts: 186
08-16-2006 17:33
Slippers?
_____________________
Xixao Dannunzio
Owner, X3D Enterprises
Join date: 20 Mar 2006
Posts: 114
08-16-2006 18:43
you could always try:

CODE

changed(integer change){
if(change & CHANGED_OWNER){
// Do stuff
}
}


That would detect a change in ownership. As for the editing of a notecard via script, it's not possible.