Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script pay money/ touch event & attachmenst

Maximilan DeSantis
.:.:Scripting:.:.
Join date: 13 Jan 2007
Posts: 5
02-03-2007 10:56
Hi,
I have 2 questions:

If I give a script the PERMISSION_DEBIT, does it or can it still pay someone my money if I give a copy of the object containing the script to someone (so that it owner changes)

And
Is the touch event triggered in a script that is an attachment, so that I can make an attachment other can click and get something?
_____________________
21 is only half the truth...
Don't panic!
Maximilan DeSantis
.:.:Scripting:.:.
Join date: 13 Jan 2007
Posts: 5
02-05-2007 01:52
Hm, no answers so far.
I'll try to explain the problem: I want to script an attachment that gives the one who wears it money (my money), but my problem is, that llGiveMoney() only works for the owner and if I give this attachment to someone, he becomes the owner.
_____________________
21 is only half the truth...
Don't panic!
Newgate Ludd
Out of Chesse Error
Join date: 8 Apr 2005
Posts: 2,103
02-05-2007 02:12
From: Maximilan DeSantis
Hm, no answers so far.
I'll try to explain the problem: I want to script an attachment that gives the one who wears it money (my money), but my problem is, that llGiveMoney() only works for the owner and if I give this attachment to someone, he becomes the owner.


The way around this is to have the attachment contact a broker that you own passing it the key of its Owner and possibly how much to pay.

You will need to be very careful to ensure that you are not spoofed by repeat attacks.
Maximilan DeSantis
.:.:Scripting:.:.
Join date: 13 Jan 2007
Posts: 5
02-05-2007 05:55
Thx that actually helped a lot. Don't know why I didn't have this idea:rolleyes:
_____________________
21 is only half the truth...
Don't panic!