MiniiTaylor Posted August 12, 2015 Share Posted August 12, 2015 Okay so a while ago I saw someone walking around at the SLINK store with a script with a hover textthat said " Saving up for slink feet and hands - 100L$ out of 1125L$ "So I was curious on how it worked, I payed the girl 1L$ and it changed to "101L$ of out 1125L$".I was wondering if someone could help me make a script that did something like that.Or if there was anything on marketplace that'd be great.Thanks! Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted August 12, 2015 Share Posted August 12, 2015 Well, to start you off, here's a script to show how you get the basic hovertext and possibly some contributions // Warning, script composed out of world and not syntax-checkedinteger iWant = 100;integer iHave = 0;string begging;vector colour = <1.0, 1.0, 1.0>;float noShame = 1.0;message(){ begging = "Saving up for Christmas, I need " + (string) iWant + " $L and I have " + (string) iHave + " $L, please help"; llSetText(begging, colour, noShame);}default{ state_entry() { message(); } money( key benefactor, integer amount) { iHave += amount; message(); llInstantMessage( benefactor, "thank you so much for your kindness"); }} Drop the script in a prim, set the prim to invisible, and attach it to your head, and then think very carefully, do you really want the ire and approbium that using it will doubtless draw down upon your (prim-enclosed) head? Link to comment Share on other sites More sharing options...
Rolig Loon Posted August 12, 2015 Share Posted August 12, 2015 That sort of behavior is likely to get you banned from a lot of regions in SL. Residents take a very dim view of begging. Before they actually ban you, expect to get a lot of verbal abuse. BTW, money cannot be paid to an attachment, so you can't write a script that will accept the few donations you are hoping for unless you put it into a follower, not a prim that is attached to you. Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted August 12, 2015 Share Posted August 12, 2015 Shouldn't I be banned for actually providing them with the means? (Memories of the catapuly scene in Jabberwocky here...) Link to comment Share on other sites More sharing options...
Rolig Loon Posted August 12, 2015 Share Posted August 12, 2015 Hehe.... That's the eternal question that people ask about gun shop owners and the scientists who develop atomic weapons. I have no answer for them either. :smileywink: Link to comment Share on other sites More sharing options...
Profaitchikenz Haiku Posted August 12, 2015 Share Posted August 12, 2015 Good call about the attachment, I missed that whilst popping in and out from trying to see the meteor showers. Now I'd better show them how to script a follower that shouldn't be used for griefing, only pestering. 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