Skip to content

Vendor Script: Purchase or Obtain Demo Plus Split Profit With Partner

This free Second Life script is quite useful if you are selling items and you would like to split part of the revenues with a partner. For example, let’s say that a friend of yours allows you to put up some vendor signs in their dance club. In return, you agree to pay her or him 40% of the revenues that you collect. This script will allow you to do that.

But this script also has another important function.  It has the ability to provide the customer with a demo if they would like to try out the item before purchasing it.  It’s all done in one prim to keep the land impact to a minimum.

The original work on this script was done by Nick Fortune, Chaiboy Rang and a generous person in Second Life who I would love to credit but has remained anonymous.  Second Life is far better place because individuals like Nick and Chaiboy who freely share the labors of their work with others.  A big thanks goes out to them.

What this script does:

1. When the customer left clicks, this script provides them with a free DEMO

2. When the customer right clicks, they have the option of selecting “PAY” to    purchase the Item

3. When they pay, a percentage of their payment (that you specify) is   forwarded to another person

What you need to do:

 1. Using a “box” prim, flatten it out and make a poster. I’ll call this the  “Vendor Poster.” Add a texture which illustrates your product. To the contents of the poster, add this script plus your product AND the demo of  your product.

 2. Look in the “Contents” of the vendor poster, right-click on this script and select OPEN. You’ll make a couple of modifications. Look for  “Enter the price of Your Item” in the script and change xxx to the amount you are  charging for the product.

 3. You’ll also need to enter the name of the item you are selling and the name of the demo item.  The name must be exactly the same as the “Name” in the item’s “General” tab.   You can do that by right clicking on the item you are  selling and select “Edit.”  Look under the “General” tab and copy the “Name.” Then paste the name in the appropriate place in the script as indicated below.  (Or once you have your product listed the contents of the vendor poster, you can copy the name from the contents.)  Either way, by using copy and paste, you’ll be assured that the name is exactly the same.  Do that also for the demo Item.

 4. Two more values are required to appropriately pay your partner’s share. FIRST, you need to enter your partner’s UUID key.  Here’s a script on obtaining the UUDI.  SECONDLY, you need to enter the percentage of the total that you are paying your partner.  The default percentage is 50%.  You can make this whatever   you and your partner have mutually agreed upon.  Enter the value as a  decimal.  For example, if you are paying your partner 40%, enter the  value as .40

 5. Save the script by clicking the “Save” button at the bottom of the script editor. When you save it, Second Life will trigger the following message:

“Warning. [Name of Your Vendor Poster] wants total access to your Linden Dollar account. If you allow access, it can remove funds at any time . . . Do not allow access if you do not fully understand why it wants access to your account.”

In order for this script to work properly and provide your partner with their share, you must click on the “ALLOW TOTAL ACCESS” button. What this means is that vendor poster that you have created can remove your partner’s share each time someone purchases the product. If you don’t allow access then your partner will never receive any money, and all of the money will end up going to you. Since it is the script in the vendor poster which is distributing the money – and not your partner or someone else – money is transfer only when you have a sale, and you do not have to worry about your account being emptied.

6. Look in the “General” tab of the vendor poster and make sure that “TOUCH DEFAULT” IS turned on AND make sure that “FOR SALE” is NOT checked.  This will save you several hours of heartache (Can you guess that I spent a  day dealing with it…yikes, yes!) If you have any Pay settings turned on, the  script will not work properly, so don’t forget to check these settings

7. Just to make sure everything is ready, do a “Re-set” of the script. You can do that by opening the script and clicking on the “Reset” button. You’ll get the Allow Total Access message again. Be sure to click the “ALLOW TOTAL ACCESS” button as explain above or your partner will not receive his or her share.

I’ve set things up to make this really easy for you. I’ve created a generic vendor poster object with the script in place. All you need to do is add your own image to the poster. (In other words, you’ll be adding an image of the item that you are selling. ) The free package also includes an object which will give you the UUID of your partner.

Everything is full permissions.  The script is fully modifiable for making your own alterations.

The free package is available at my store.  I only ask for one small favor.  While you are at my store, I would be grateful if you added the store to your “Picks.”  (If you’ve never added a store to your picks, here how to do it in two illustrations:  Adding a Pick )

Stop by my store (Chimera’s Simple Elegance) for the free package that has all the proper settings and is ready to be used.  Look for the following display:


%d bloggers like this: