01-27-2007 13:58
Alright, this seems like the most appropriate of the forums to post this.

Being a programmer, I've been meaning to play around with libsecondlife for a while now, but haven't until yesterday. Here is a little program I put together as I played around some.

I'm calling it Sticky Chat. It really just enables a few simple commands, but I think they could be useful for some Second Life users.

It works using SLProxy, basically you run Sticky Chat and it will act as a proxy. Then you run second life with the '-loginuri http://localhost:8080/' switch and it will connect to Sticky Chat, which will send the packets on to the Second Life servers. This allows the proxy to filter and even modify packets in between.

Sticky Chat only listens for and modifies your outgoing chat packets. There are a few special commands that it listens for you to say in chat and these will be filtered out, that is they will not be sent on to SL.

The commands are: (case insensitive)

/shout: Toggles Sticky Shout. Sticky Shout automatically changes what you say to a shout.

/whisper: Toggles Sticky Whisper. Sticky Whisper automatically changes what you say to a whisper.

/sticky: say this on a channel to set a Sticky Channel. Once a Sticky Channel is set, anything you say normally (on channel 0) will be said instead on the Sticky Channel. For example, say "/1/sticky" to set your sticky channel to 1. Just say "/sticky" or "/0/sticky" to return to normal.

/echo: This feature will cause what you say on other channels to be echoed back to you, in case you wish to be sure of the things you said on other channels. Useful with Sticky Channel.

I hope that this program may be found useful, I know many hosts use a special attachment to re-shout what they say, this should do one better.

Download Sticky Chat here (C# source included)

Note that you will need the .NET framework installed on your computer. Most of you will want the x86 version. Mac/Linux users will need the Mono equivalent and may or may not need to recompile the source, I don't know to be honest. XD

Feel free to post any feedback or suggestions here.

Readme included below

~Azurei

Installation
-------------
Extract the zip file to a directory somewhere =P

Execution
----------
First, run the StickyChat executable, to setup StickyChat as a proxy. Then create a copy of your SL shortcut and add the switch '-loginuri http://localhost:8080/' to the shortcut. This can be done in Windows by right clicking on the shortcut and going to Properties, then adding the switch to the target. An example shortcut is included, which should work if you have Second Life installed in the default directory. For more info on SLProxy, please visit: http://www.libsecondlife.org/wiki/SLProxy


Commands
--------
The following commands are case-insensitive and should be entered from your Second Life chat bar.

/shout: Toggles Sticky Shout. Sticky Shout automatically changes what you say to a shout.

/whisper: Toggles Sticky Whisper. Sticky Whisper automatically changes what you say to a whisper.

/sticky: say this on a channel to set a Sticky Channel. Once a Sticky Channel is set, anything you say normally (on channel 0) will be said instead on the Sticky Channel. For example, say "/1/sticky" to set your sticky channel to 1. Just say "/sticky" or "/0/sticky" to return to normal.

/echo: This feature will cause what you say on other channels to be echoed back to you, in case you wish to be sure of the things you said on other channels. Useful with Sticky Channel.

Note: This program is not affiliated with LindenLab or Second Life =P

Thanks to all the people who worked on libsecondlife and SLProxy :-)

Hope you find this program useful!

~Azurei Ash