Sashenka

Software Screenshot:
Sashenka
Software Details:
Version: 3.3
Upload Date: 3 Jun 15
Developer: Caskey Dickso
Distribution Type: Freeware
Downloads: 10

Rating: nan/5 (Total Votes: 0)

Sashenka is aJ2EE Servlet container and framework for IRC bots and clients.

Much of it is incomplete and it only handles basic incoming and outgoing messages but it is enough to build trivial bots with.

Bots are written as Servlets following the
Sun J2EE servlet model which are loaded by the container.

The container dispatches messages to and through the modules so that they may respond (if they so wish).

You could even build a functional IRC client with the utility classes in sashenka but there are enough of those out there already so I don't recommend that you try.

What sashenka does offer is an object oriented framework for managing IRC traffic. My only use for it is the bot framework built on top of the IRC framework.

The distro comes with the j2ee.jar from the 1.2.1 j2ee sdk. I include this for convenience, if you have the j2eesdk I encourage you to use your own copy as mine may not jive with your runtime.

Requirements:

· java SE sdk 1.4+
· java EE jar

Building:

$ cd src/
$ make classes
$ make jar

Running:

$ java -classpath src/sashenka.jar:lib/j2ee.jar
-Dsashenka.Sashenka.nick=botnick
'-Dsashenka.Sashenka.channel=#sashenka'
'-Dsashenka.Sashenka.modules=forecast/sashenka.modules.WeatherServlet
time/sashenka.modules.TimeServlet google/sashenka.modules.GoogleServlet
dictionary/sashenka.modules.DictionaryServlet'

That will run the Sashenka runtime, connect to irc.example.com on port 6667, log in under the nick 'botnick' and join the channel '#sashenka'. The quotes are necessary otherwise the '#' character will cause the last parameter to be dropped by the shell. You can load as many modules as you want into the same bot. Each module decides if it is necessary to respond to a particular command or not.

Similar Software

123 Flash Chat
123 Flash Chat

20 Feb 15

Kyim
Kyim

3 Jun 15

ggzbot
ggzbot

20 Feb 15

Comments to Sashenka

Comments not found
Add Comment
Turn on images!