|
Crap Oh
Registered User
Join date: 4 Feb 2007
Posts: 2
|
01-04-2008 12:08
I am relatively new to SL, and very new to LSL; however, I have been involved in programing for a few years and have taken a class for C++.
I am making an object that pays people to visit websites.
Here is how it's supposed to work: The object gives the user a site to visit and once it is confirmed that they viewed the site, the object gives them the next site to view.The user gets paid for every 10 sites they visit. All I need to know is how do I make sure that the people are actually visiting the site that the object gives them when the "Open URL" dialog comes up instead of just clicking decline? It is of extreme importance that the user ACTUALLY views the site.
Thanks in advance for any responses!
-Crap Oh
|
|
Ordinal Malaprop
really very ordinary
Join date: 9 Sep 2005
Posts: 4,607
|
01-04-2008 12:27
The URL that the object provides needs to include some sort of token e.g. http://www.mysite.com/?refid=234909023That way the site will get information when the link is clicked on that can be used to tie that visit to the particular person and time. If lots of different sites are involved or ones where you have no access to the code, you will probably need to have a site of your own that redirects people as well as logging that they have made the visit. You can't do it purely within LSL, as there is no event generated when somebody either opens or declines a URL popup.
_____________________
http://ordinalmalaprop.com/forum/ - visit Ordinal's Scripting Colloquium for scripting discussion with actual working BBCode!
http://ordinalmalaprop.com/engine/ - An Engine Fit For My Proceeding, my Aethernet Journal
http://www.flickr.com/groups/slgriefbuild/ - Second Life Griefbuild Digest, pictures of horrible ad griefing and land spam, and the naming of names
|
|
Crap Oh
Registered User
Join date: 4 Feb 2007
Posts: 2
|
01-04-2008 12:33
thankyou very much/\/\
|