Jump to content
Sign in to follow this  
Rhonda Huntress

Scripted L$ balance?

Recommended Posts

I think I know the answer but I need to ask before giving up.

Is there a way to check an owner's balance?  For instance if I have less than 100 lindens I want the script to llOwnerSay("You're broke.");

Share this post


Link to post
Share on other sites

Nope.   LL have, in the past, refused requests to introduce such a function because it would make clearing people's account balances with fraudulent scripted objects to which they grant debit permissions even easier than it is at present.

Share this post


Link to post
Share on other sites

I thought so.

I wondered about llTransferLindenDollars the amount to myself and checking for success but not sure if that was possible either.  Oh well.  It's not that important.

Share this post


Link to post
Share on other sites
7 hours ago, Rhonda Huntress said:

I thought so.

I wondered about llTransferLindenDollars the amount to myself and checking for success but not sure if that was possible either.  Oh well.  It's not that important.

That works indeed. the transaction_result will return LINDENDOLLAR_INSUFFICIENTFUNDS if you try to pay an amount to yourself that is more than what you actually have.

Actually it's also possible to return the L$ balance with that method as well. At least to a certain amount, because the function is limited to 30 payments per 30 seconds. I'm not sure I would recommend doing this though, because it would spam your transaction history I guess.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...