I have made a system for showing your online status on the web, which can be accessed in a few ways. In all of the below examples, replace “your_name” with your first name, then an underscore, then your second name. For example, I would be “katharine_berry”.
If that doesn’t work, replace “your_name” with your key instead.
Method 1 – Javascript
Javascript psuedo-AJAX (security sandbox makes AJAX impossible) type thing, as demonstrated at the bottom of my web page. Note that this works best in anything other than IE, but it’ll still work even in IE.
Place the following in your webpage where you want the text to appear:
<script type="text/javascript"
src="http://services.katharineberry.co.uk/avstatus/avs/your_name.js"gt; </script>
Example:
The text will be in a <span> element with its class as one of “KB-status-loading”, “KB-status-online”, “KB-status-offline” or “KB-status-error”, allowing you to style it. IDs are generated at random to attempt to prevent collisions.
Method 2 – Raw data
This method simply returns a number between -2 and 1 inclusive. This is designed for use by your own parsing scripts, or llHTTPRequest, etc.
Access the data at http://services.katharineberry.co.uk/avstatus/avs/your_name.txt.
The returns codes are as follows:
- -2: Second Life not responding to requests
- -1: Name not in key database.
- 0: Avatar is offline.
- 1: Avatar is online.
Method 3 – Images
This method produces an image (either JPEG, GIF or PNG) showing your online status (suitable for a forum, etc.). If anyone has/can make good online/offline(/unknown) images for this, please contact me or post here.
To access these images, use one of the following URLs:
- PNG: http://services.katharineberry.co.uk/avstatus/avs/your_name.png

- GIF: http://services.katharineberry.co.uk/avstatus/avs/your_name.gif

- JPEG: http://services.katharineberry.co.uk/avstatus/avs/your_name.jpg

If you have any comments, suggestions, better images, or requests for help, post a comment here or IM me in-world.
Thanks!
Totally neat Katharine! The master scripter tackles her latest project successfully once again. I’m sure we’ll use this tool somehow in the future.
-Rafi
We’re looking to implement something like this for our NMC Campus; I see your code is hitting a service on your site; is that code available? or is it based on a public method from LL?
I can send you the code if you want. Tell me if you want it.
It needs a server with PHP, and a sim that’s fairly reliable that you can keep a prim on.
Hi, I’m also interested in getting the code, please email it to me.
Katharine sparks a hit. Lol.
Neato! Send me the code as well
. I wanna use this for DuoGrid
.
Uhhhhh… very interested in your code too.
Regards, Roadmap Writer