Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Scripting Avatar Money

Daniel Wallace
Registered User
Join date: 17 Jan 2005
Posts: 2
10-22-2006 14:38
I am trying to write a script that keep track of money that is given to me.

CODE

money(key customer, integer amount)
{
llSay(0,"You have been paid: L$" + (string)amount);
}


But where can I place this, so that it will be triggered when some one gives me money?
Zeera Xi
Real Join Date: Mid '05
Join date: 21 Sep 2006
Posts: 54
10-22-2006 14:43
This script would only work for when the actual object is paid and not your avatar payments.
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
10-23-2006 01:58
You can't track all payments with lsl.

The money event only fires when the object the script is in fires, and it's the only access we have.

However, the transactions page on the website covers all of these, can be downloaded etc. I guess you could write something to scrape it, and xml-rpc the data in.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Rhaorth Antonelli
Registered User
Join date: 15 Apr 2006
Posts: 7,425
10-23-2006 15:15
check in game world account history look at the different tabs

or as mentioned look on the website under your account infor transaction history

Hope that helps
Daniel Wallace
Registered User
Join date: 17 Jan 2005
Posts: 2
10-24-2006 00:54
Thanks,

Its not the answer I was hoping for.

The scraping idea is a possibility.

Back to the drawboard