klar, natürlich... hier mal das script
float Price=100; //The total price of your product(s).
key PartnerKey=""; //The key of the partner you want to give a percentage to. Leave empty if you don't want anyone else to get your money.
float Percentage=0; //The percentage of the sales you want to give to your partner. Leave empty if you don't want anyone else to get your money.
list ProductList=[""]; //List of products to give out when the price is paid.
string Folder=""; //Name of the folder created in the buyers inventory.
string InfoNote=""; //Name of Notecard with information about the product. Leave empty if you don't want to give out a note.
integer PermSet=0;
default
{
state_entry()
{
llSetPayPrice( PAY_HIDE, [0, PAY_HIDE, PAY_HIDE, PAY_HIDE]);
llSetText("Price: L$" + (string)llFloor(Price) + ", Touch for info.", <1,1,1>, 1.5);
if (PartnerKey != "")
{
llRequestPermissions(llGetOwner(),PERMISSION_DEBIT);
}
else
{
llSetPayPrice( PAY_HIDE, [(integer)Price, PAY_HIDE, PAY_HIDE, PAY_HIDE]);
PermSet=1;
}
}
run_time_permissions(integer permissions)
{
if (permissions==0)
{
llSay(0,"You must give permission for the object to handle the money that comes in, or it will not work.");
}
else
{
llSetPayPrice( PAY_HIDE, [(integer)Price, PAY_HIDE, PAY_HIDE, PAY_HIDE]);
PermSet = 1;
}
}
touch_start(integer total_number)
{
if (InfoNote != "" && PermSet==1)
{
llGiveInventory(llDetectedKey(0), InfoNote);
}
}
money(key giver, integer amount)
{
llGiveInventoryList(giver, Folder, ProductList);
if (PartnerKey != "")
{
llGiveMoney(PartnerKey,llFloor((Price/100) * Percentage));
}
}
}