Weekly Raffle
Top Free Scripts
ASD Web Tools
Donation Box
Script ID : 9
Published Date: 2006/10/17 2:10:00
Reads : 20571

I've seen this script in Freebie packs all the time, and it's always wrong. It doesn't correctly show how much has been collected so far. I assume it's because it is an old script and SL may have changed since. Either way, this is my own version, and it works.

integer totaldonated;

on_rezinteger sparam )

llSetText("Donation Box\nL$0 Donated so far",<1,1,1>,1);

money(key idinteger amount)
totaldonated totaldonated amount;
llSetText("Donation Box\nL$" + (string)totaldonated " Donated so far",<1,1,1>,1);
llInstantMessage(id,"Thank you for the donation!");

Printer Friendly Page Send this Script to a Friend

Disclaimer: While I do not mind if these scripts are used in things you sell, I do not wish for these scripts to be sold either on their own or in script packs.
Most Popular Raffle System In Second Life
Visit ASD Studios Hollywood
Search for Help
Monthly Free Item
Hearts Particle Machine

Limit one per avatar
Teleport Now!


Site Info
Total Hits: