Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Script for a specific pay amount

Amethyst Stardust
Registered User
Join date: 3 Nov 2006
Posts: 11
12-28-2006 10:35
I'm looking and have kind of hit a wall in my quest to find a script that I can drop into a prim that will only allow someone to pay said prim a specific amount of Linden Dollars.

Can anyone point me in the right direction?

Thanks in advance!!
~Ame
Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
12-28-2006 10:46
Include this in the state_entry event of the script that processes the money:

llSetPayPrice(PAY_HIDE,[amount,PAY_HIDE,PAY_HIDE,PAY_HIDE]);

Note that is possible for this restriction to be hacked around, so don't assume that every payment will be the correct amount just because you have done this.
Amethyst Stardust
Registered User
Join date: 3 Nov 2006
Posts: 11
12-28-2006 10:49
Thanks Yumi!

Unfortunately I haven't the foggiest clue on how to write my own script. I'd gladly pay someone for it, if need be.
Ziggy Puff
Registered User
Join date: 15 Jul 2005
Posts: 1,143
12-28-2006 10:58
Then your best bet would be to post in the Classifieds forum, saying you're looking for a scripter to write you a script to do something. You're likely to get more responses there. This forum is generally used by people looking for help with writing their own scripts.