Jump to content
  • 0

Help with tip jar script! Total amount when logging out of jar


MissEmber
 Share

You are about to reply to a thread that has been inactive for 1415 days.

Please take a moment to consider if this thread is worth bumping.

Question

Hello everyone, I am using a basic tip jar script i purchased from MP.  I would like to make it tell me the total amount made after I log out of the jar if possible.  Can someone help me modify it.  I have include it below.  Tyia!

 

 

integer amount = 0;
default
{
    state_entry()
    {
        llSetText("TIPS HERE", <1,1,1>, 1);
        llSetPayPrice(amount, [100,200, 300, 400]);
    }

    money(key avaname, integer payment)
    {
        
        llSay(0, "Thank you for the tip, " + llKey2Name(avaname) + " !");  
        llSetText("Last tip was " + (string)payment + "L$ by" + llKey2Name(avaname), <1,1,1>, 1);
    }        
}
 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

You are about to reply to a thread that has been inactive for 1415 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...