Yumi Murakami
DoIt!AttachTheEarOfACat!
Join date: 27 Sep 2005
Posts: 6,860
|
04-18-2006 12:56
Instructions: Rez a plywood cube, drop this script into it, pick it up, then attach it to "HUD bottom right". It'll fix its own size and texture. This will give you a handy button in the corner of your screen which, when clicked, pays L$1 to the owner of the land you're on. It might not seem like much, but it's more than dwell. Unfortunately, it doesn't work with group owned land. I'm not sure how to make it do so. integer first_time = TRUE;
default { attach(key attacher) { if (attacher != NULL_KEY) { if (first_time) { llSetPos(<0,0.05170,0.07860>); llSetScale(<0.5,0.07241,0.02286>); llSetTexture("9c1f6fd2-3491-d174-da4b-e29f52616173",4); first_time = FALSE; } llRequestPermissions(llGetOwner(),PERMISSION_DEBIT); } } touch_start(integer total_number) { if (llDetectedKey(0) != llGetOwner()) return; llGiveMoney(llGetLandOwnerAt(llGetPos()),1); } }
|
Nada Epoch
The Librarian
Join date: 4 Nov 2002
Posts: 1,423
|
Discussion Thread
04-18-2006 19:24
_____________________
i've got nothing. 
|
Persephone Phoenix
loving laptopvideo2go.com
Join date: 5 Nov 2004
Posts: 1,012
|
04-18-2006 22:26
That was really nice, Yumi.  Thanks for that. If anyone can figure what to do to make it work for group land, lemme know, k? *hugz*
_____________________
Events are everyone's business.
|
Peter Newell
Registered User
Join date: 17 Feb 2006
Posts: 20
|
04-30-2006 17:10
<Applaud/>
This is a great idea, thanks!
|