Fluent.BotService
(soon to be released)
Fluent.BotService is a windows service for managing Bots on AOL's Instant Messenger (AIM) service.
Included is Fluent.BotFramework, a programming framework that makes it quick and easy to build bots.
Fluent.BotService Features
- Maintains connections to AIM service.
- Bots are easily deployed under file system similar to ASP.NET.
- Includes a winforms based BotRunner, for running bots during development.
Fluent.BotFramework Features
- Session Management.
- Simplified framework for handling events.
- Utility functions to process messages.
Example Bot
public class EchoBot : BotBase {
public override void OnIncomingMessage(
string from, string message, bool autoResponse) {
if((string)Session["lastStatement"] == message){
SendMessage(from,"You just said that!");
} else {
SendMessage(from,"I agree {0}, {1}", from, message);
Session["lastStatement"] = message;
}
}
}
This bot is compiled and placed in the bot root 'botroot\EchoBot\bin\EchoBot.dll'.
A configuration file is then created for the bot in 'botroot\EchoBot\bot.xml'.
<?xml version="1.0" encoding="utf-8" ?>
<bot type="Fluent.SampleBots.EchoBot, Fluent.SampleBots"
screenName="mybotname" password="mypassword" />
Fluent.BotService is not endorsed by or affiliated with AOL.
Copyright © 2002-2003 Fluent Consulting. All rights reserved.