10-08-2010 04:20 AM
I'm using a open source tip jar script which is a great basic script. But someone actually gave me my 1st tip and I don't know who it was as I was offline. I am still very new to scripting and have tried to play around with the existing script but I keep getting syntax errors.
I don't foresee high tip traffic so I just want something to tell me the name of the last person to leave a tip in the text field on the tip jar.
This is the script
on_rez( integer sparam )
owner = llKey2Name( llGetOwner() );
llSetText( owner + "'s Tip Jar.\nIf you enjoyed my house and garden...\n$L0 Donated so far",<.25,1,.65>,1); //change floating text here
money(key id, integer amount)
totaldonated += amount;
llSetText( owner + "'s Tip Jar.\nIf you enjoyed my house and garden...\n$L" + (string)amount + " Was donated last!\n" + "$L" + (string)totaldonated + " Donated so far",<.25,1,.65>,1); //change floating text here
llInstantMessage(id,"My gratitude for your generosity!\nSafe journey."); //change thank you message here
Thanks muchly to anyone who's inclined to assist.
10-08-2010 04:32 AM
Hello Eleanor. You can look up the tippers name on your transaction history. I would be happy to pass you a script that works or help in-world.
10-08-2010 04:35 AM
Try this link for some ideas from existing scripts.