MeredyddRogueStar Posted May 25, 2018 Share Posted May 25, 2018 Hi im trying to make my own tipjar script and this is waht i already got: default { state_entry() { llSetPayPrice(0, []); } money(key giver, integer amount) { string name = llGetDisplayName(giver); llSay(0,"Thank you for the generous tip, "+name+",!"); llSetText("Mere's Tipjar!", <1,1,1>,1); //Change the hovering text here } } So far im liking it because i dont want it to state how much I in totally got in donations now the folowing. I want to give it me a Dialog/text box telling me who donated how much and i need/want me the only one to see it. Anyone here who can help me with that one Thanks in advance Link to comment Share on other sites More sharing options...
Niall Braveheart Posted May 25, 2018 Share Posted May 25, 2018 After the line llSetText("Mere's Tipjar!", <1,1,1>,1); //Change the hovering text here Add llDialog ( llGetOwner(), name + " tipped you " + (string)amount, [] , -9168 ); Change the -9168 to some other randon nnegative integer Link to comment Share on other sites More sharing options...
MeredyddRogueStar Posted May 25, 2018 Author Share Posted May 25, 2018 Ty so much Niall Braveheart It works like a charm Link to comment Share on other sites More sharing options...
Wolfman Wisent Posted September 12, 2019 Share Posted September 12, 2019 How do You get the dialog box to stay up until You click it. Would be nice to have the box up untill You respond to it instead of disapearing when the next box pops up. Link to comment Share on other sites More sharing options...
Mollymews Posted September 12, 2019 Share Posted September 12, 2019 (edited) each dialog needs its own channel. Example integer channel; default { touch_start(integer total_number) { --channel; llDialog(llGetOwner(), (string)channel, ["Hello"], channel); } } Edited September 12, 2019 by Mollymews -- Link to comment Share on other sites More sharing options...
Wolfman Wisent Posted September 13, 2019 Share Posted September 13, 2019 Thank You Mollymews. 1 Link to comment Share on other sites More sharing options...
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