Hi there.
I am looking for pieces of sls code to add to my 'tip jar' script.
(I am a complete noob if it comes to sl scripting, so please help me with where to put it and such - normally when I try to add lines from other scripts I get Syntax Errors)
I want the tip jar script to detect if someone is sitting on an object (like a dance pole) and if so I want it to pay the avatar who 'sits' there every L$ people put in the tip jar, and not pay the owner (me) like the script is doing now. This so people do not have to rez their own tip jars and everyone can use the tip jar already present. All objects (dance pole, tip jar and other things) are linked to eachother, and I want the tip jar script to only communicate with the dance pole that is linked to it, so I can have multiple dance poles where people can dance for tips.
Well that is the basic idea, I hope it is clear. I know it is possible, but haven't got a clue how to accomplish this.
Thank you very much.
Merv