MissEmber Posted June 12, 2020 Share Posted June 12, 2020 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 More sharing options...
0 Mollymews Posted June 12, 2020 Share Posted June 12, 2020 Ember, rather than try to add in the features you want, can try to get a script that does this already google for LSL TIPJAR for example some different kinds of tip jar scripts are here: https://www.outworldz.com/cgi/freescripts.plx?Category=Tip Jar go thru them and see if any fit your needs 1 Link to comment Share on other sites More sharing options...
Question
MissEmber
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
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