Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Pay someone other than the owner

OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
04-02-2006 17:33
This may be a silly question but is it possible to make a payball that does not pay the owner of the object. For instance you sell something that you want to charge a subscription to and have the item accept the money for convinience.
Kermitt Quirk
Registered User
Join date: 4 Sep 2004
Posts: 267
04-02-2006 20:00
By default all money paid to an object goes to the owner of that object. If you want to pay someone else you could add additional code which forwards the money from the owner to the intended recipient as a second step.
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
04-02-2006 21:25
So it would go to the owner first then you would pull it out of the owners account again and send it on?
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
04-02-2006 21:55
Yes. So the script needs to request debit permissions from the owner, because it's debiting the owner's account and paying someone else.
Kermitt Quirk
Registered User
Join date: 4 Sep 2004
Posts: 267
04-03-2006 03:13
If you're wanting to understand how to script this kind of thing, have a look at these two...

money event
...and...
llGiveMoney function
OmniCron Overlord
Registered User
Join date: 28 Nov 2005
Posts: 31
04-03-2006 07:17
Ok correlary question. What would happen with a group owned item? How would debit permissions get set, or can they be set to pull money out? Say for instance i sell the item to Bob. Then bob deeds it to his group 'Bob's Group'. I want bob to be able to pay the object his subscription fee to me. Would the script even be able to work now that Bob's group is the owner?
Kyrah Abattoir
cruelty delight
Join date: 4 Jun 2004
Posts: 2,786
04-03-2006 07:34
if i remember it isn't working with deeded objects
_____________________

tired of XStreetSL? try those!
apez http://tinyurl.com/yfm9d5b
metalife http://tinyurl.com/yzm3yvw
metaverse exchange http://tinyurl.com/yzh7j4a
slapt http://tinyurl.com/yfqah9u