Jump to content
  • 0

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


You are about to reply to a thread that has been inactive for 104 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 post
Share on other sites

1 answer to this question

Recommended Posts

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

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

Join the conversation

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

Guest
Answer this question...

×   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.

×
×
  • Create New...