Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 23rd, 2005, 8:51 PM   #1
niteice
Programmer
 
niteice's Avatar
 
Join Date: Aug 2005
Posts: 98
Rep Power: 4 niteice is on a distinguished road
Send a message via AIM to niteice
AIM bot

One day whilst trawling the web I found a project called PHPTocLib - a PHP class that connects to AOL's open TOC protocol for AIM. I don't quite remember what went through my head after that, but I somehow got the notion to make an AIM answering machine type bot. So in the period of the next 4 days (i.e. Thanksgiving break) , I accomplished the majority of the features:
  • Automatically reply with an away message to any incoming IM
  • Select a random away message from a list or use a default (boring :p) message
  • Have personal messages inserted into away messages, so the rest of the world doesn't have to see what you only want to tell one person
  • Something else I forget :p
There's basically 2 known bugs:
  • Does not mark the user as away at all. The code is there, but it doesn't seem to work. I find this to be an advantage, as the TOC protocol has no way to specify different messages for the server to send to the client, only for the client to send to other clients. That's how the randomizer and personal messages can work.
  • Logs are basically the raw client<->server data.
Although iceAwayBot is written in PHP, it has to be run from the command line. I may add a web interface at some point.

http://niteice.hopto.org/~ice/iceAwayBot-0.9.6a.tar.gz
niteice is offline   Reply With Quote
Old Jan 22nd, 2006, 11:23 AM   #2
niteice
Programmer
 
niteice's Avatar
 
Join Date: Aug 2005
Posts: 98
Rep Power: 4 niteice is on a distinguished road
Send a message via AIM to niteice
New release, featuring command support. It's a bit of a hack at present, being one big switch statement.

http://niteice.hopto.org/~ice/iceAwayBot-0.9.10.tar.gz
niteice is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC