Land-selling agencies in Second Life have employees which need to be paged in order to assist visitors in case they are interested to buy land. The following scripts facilitate that by using an out-of-world SQLite database and a few scripts.
The SQLite DB should be placed along with the
registerURL.php script in the same directory. The land signs and the
[K] Agent Registry send HTTP requests to the SQLite database in order to register a short URL. We have done this previously in order to map a Linden URL to an identifier in order to retrieve it at a later time.
The procedure for setting up is quite simple:
registerURL.phpscript and the database created using the code below on a HTTP server.
Agent Registryscripts in primitive and name it
[K] Agent Registry, somewhere public so both you and your employees can see it.
Agentscontaining sales agent avatar IDs and names, and place it in the same primitive as the
Agent Registryscripts (a sample can be found below).
Sales HUDsection and distribute them to your sales agents.
Sales Signcode and place them on your land where you sales signs are.
Time Trackerscript inside it and place it on the same simulator as the