SJackB Northman
Call me Sarah
Join date: 15 Mar 2009
Posts: 63
|
09-25-2009 07:18
Is it possible to have a fixed amount of Lindens transferred from avatar to another on a weekly basis? I have 3 premium alts and I want to consolidate their stipends onto one of the accounts every Tuesday morning without having to log in and pay manually.
Is it possible to script this? Thanks.
_____________________
Sarah (or SJ for my friends)
|
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
|
09-25-2009 07:32
Yes. I think the name of the script someone done already is avatarbank.
|
SJackB Northman
Call me Sarah
Join date: 15 Mar 2009
Posts: 63
|
09-25-2009 07:55
Thanks...I don't get any hits on avatarbank...anyone know the name of it? Cheers.
_____________________
Sarah (or SJ for my friends)
|
Imnotgoing Sideways
Can't outlaw cute! =^-^=
Join date: 17 Nov 2007
Posts: 4,694
|
09-25-2009 07:57
Alt Pickpocket, I think. I set it to a touch_start event with a name list of my alts so that they can go shopping once in a while. (^_^) Also... To make an automated script work better, adding a feature something like llRequestPermissions(PERMISSION_BALANCE) and llGetAgentBalance(key agent) would let people set up vendor, bank, and premium pay accounts with fewer troubles. (^_^)y https://jira.secondlife.com/browse/SVC-4699
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
09-25-2009 12:36
Meanwhile, you can already do this, blindly. Each alt needs to own a box. In that box should be a script that looks something like this. From: someone on rez... ● request permission: PERMISSION_DEBIT on permission... ● if PERMISSION_DEBIT was granted, start a timer for 1 second. (we want it to execute now) ● else, request permission: PERMISSION_DEBIT on timer execute ● Check the date. (try this... http://lslwiki.net/lslwiki/wakka.php?wakka=LibraryGetDayOfWeek ) ● If day is wednesday, llGiveMoney(your key, stipend amount); ● else do nothing. ● set new timer event. (hourly let's say.. so 3600 seconds). The downside is that there's no way in LSL to detect whether your alt HAS the money or not. Since stipends come in at unpredictable times, the best idea is probably just to have it deliver the money first thing on wednesday morning. The above outline could be refined, of course. You could make a more elegant timekeeping script, but at this point, +/- 1 hour seems pretty good. To try and get the money as soon as it arrives, you could also just make a script that TRIED to give the stipend every single hour.. If the alt didn't HAVE the money, the script would fail silently, and try again in an hour. Doing so might raise some red-flags with the Lindens though.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
Destiny Niles
Registered User
Join date: 23 Aug 2006
Posts: 949
|
09-25-2009 14:26
There is an example script at http://wiki.secondlife.com/wiki/LlGiveMoney. You can put in proper permissions for authorized users can use it or put a timer in as stated above.
|
SJackB Northman
Call me Sarah
Join date: 15 Mar 2009
Posts: 63
|
10-01-2009 06:05
Thanks, all! Not sure which way I'll go yet. I appreciate it.
_____________________
Sarah (or SJ for my friends)
|