Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Library: Multi-item, Multi-author vendor

Napple Pye
Registered User
Join date: 4 Feb 2007
Posts: 10
02-13-2007 12:12
Hello, I'm trying to make my own vendor.
I have been looking for hours at the code in this thread but I still don't understand how the current item is know, my head hurts.
Napple Pye
Registered User
Join date: 4 Feb 2007
Posts: 10
02-13-2007 12:25
Hello, I'm trying to make my own vendor.
I have been looking for hours at the code in this thread but I still don't understand how the current item is know, my head hurts.
LemonYellow Oxide
Registered User
Join date: 1 Oct 2006
Posts: 33
Changing the apportionment of sales
02-21-2007 07:24
Has anybody modified this script to allow for non-equal distribution of the sales?

i.e. at the moment with 2 keys there is a 50/50 split - can this be modified to 60/40 etc. Same goes for 3 keys and up ;)

I'd be v grateful if someone could get in touch about this.

Contact LemonYellow Oxide in world - or post here.

Regards
Jahliki Shabazz
Registered User
Join date: 25 Jan 2007
Posts: 4
03-10-2007 23:02
Im new so please be patient. I love this vendor! 1. Can it simply pay the money to the owner that created each individual item? not divide it or maybe an option that lets you choose either or and 2. how many items will the vendor hold? thanks all!
Tan260 Talon
Registered User
Join date: 25 Nov 2006
Posts: 4
Chat spaming when touch
06-29-2007 06:16
When someone touch it it tell 2 to 4 time the information how to use it, I change this part of the code:

touch(integer total) {
llSay(0, "I sell things! Use the left or right arrows to cycle through the items I am selling, then right-click and \"Pay\" me the displayed amount to purchase an item.";);
}


For this:

touch_start(integer num)
{
integer i ;
for (i = 0; i < num; i++)
if (llDetectedKey(i))
llInstantMessage(llDetectedKey(i), "Use the left or right arrows to cycle through the items I am selling. (Right-click, then select 'Pay...' in the pie menu.) Pay me the displayed amount to purchase an item.";);
}

It will tell that only one time at the one that will touch it and on IM not on chat.
1 2 3 4