|
Dino Renfew
Registered User
Join date: 30 Mar 2009
Posts: 5
|
04-27-2009 07:11
Hi guys i'm looking for a script for employee's to log in and out of tipjars. I have the normal tipjar scripts but need the additional inputs for staff tipping. Any scripts people know of would be great
cheers
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
04-27-2009 07:24
You'll probably want to check in the Products Wanted forum or on SLExchange. If you want to learn how to write a script, though, this is the place to come.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
|
Winter Ventura
Eclectic Randomness
Join date: 18 Jul 2006
Posts: 2,579
|
04-27-2009 07:25
Edit: What Rolig said. This request belongs in "Products Wanted", not "Scripting Tips". Scripting Tips is a forum where people come to discuss scripting strategies. It is not a place to ask for free scripts.
_____________________
 ● Inworld Store: http://slurl.eclectic-randomness.com ● Website: http://www.eclectic-randomness.com ● Twitter: @WinterVentura
|
|
Dino Renfew
Registered User
Join date: 30 Mar 2009
Posts: 5
|
04-27-2009 07:28
oh, thought someone would be able to help me on the script as i have the normal ones, i'll have a look there
|
|
Dino Renfew
Registered User
Join date: 30 Mar 2009
Posts: 5
|
04-27-2009 07:47
ok i've looked and cant find nothing! this is what i have so far, i'm just after the log in/out part and % split but dont have a clue how to write it integer totaldonated; string owner; default { on_rez( integer sparam ) { llResetScript(); } state_entry() { owner = llKey2Name( llGetOwner() ); llSetText( owner + "'s Donation Jar.\nClub Euphoria \nOS$0 Donated so far",<.25,1,.65>,1); } money(key id, integer amount) { totaldonated += amount; llSetText( owner + "'s Donation Jar.\nClub Euphoria  \nOS$" + (string)amount + " Was donated last!\n" + "$L" + (string)totaldonated + " Donated so far",<.25,1,.65>,1); llInstantMessage(id,"Thanks for the donation!"  ; llInstantMessage(llGetOwner(),(string)llKey2Name(id)+" donated $" + (string)amount); } }
|
|
Rolig Loon
Not as dumb as I look
Join date: 22 Mar 2007
Posts: 2,482
|
04-27-2009 08:22
Try comparing what you have with the tipjar script in this forum's archives at  . That on is designed to read staff names (UUIDs) off of a notecard and to split the tips evenly among them, but you ought to be able to see the general logic. Look, in particular, at the split function at the head of the script.
_____________________
It's hard to tell gender from names around here but if you care, Rolig = she. And I exist only in SL, so don't ask....  Look for my work in XStreetSL at 
|
|
Dino Renfew
Registered User
Join date: 30 Mar 2009
Posts: 5
|
04-27-2009 08:36
cheers i'll give it a go
|