Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   C++ (http://www.programmingforums.org/forum15.html)
-   -   Making a chatbot? (http://www.programmingforums.org/showthread.php?t=10654)

Zap Jul 7th, 2006 12:32 PM

Making a chatbot?
 
Is it possible to make a bot using C++. The AIM mentioned something vaguely about making a custom bot with the AIM SDK. But I can't see to find anything on it. Has anyone here ever made a bot? Or know if it's possible to make a custom bot in C/C++?

InfoGeek Jul 8th, 2006 9:33 AM

Quote:

Is it possible to make a bot using C++
Yes.
Quote:

Has anyone here ever made a bot?
Yes. I made an IRC bot a few days ago.

Mocker Jul 8th, 2006 10:31 AM

A chat bot just listens to a network connections, parses whatever is sent to it and sends something back. That can be done in pretty much any language. If you are using AIM SDK you need to follow it to connect to the AIM network, the rest just depends on what you want your bot to do (respond to commands, act like an Eliza chat bot etc..)

kurifu Jul 8th, 2006 11:03 PM

I made a bot once for IRC, I called it Cheese bot for a lack of a better name. Designed it with Borland C++ Builder 5, but in reality any C++ system will be fine. The important thing of course is that you will need to write some classes which will communicate with the IRC server to properly encode and decode messages.

Zap Jul 10th, 2006 12:30 PM

I am making one for AIM. But I can't figure out how to get it on AIM.

free-zombie Jul 12th, 2006 4:35 PM

you might want to look at existing implementation, e.g. use libgaim for that.

linxis Jul 19th, 2006 5:38 PM

Easy

There are two ways. Either parse or forge
Forging will just force a string into a sql or another database server and display it on the chats.
Then parse is more complex.

uman Jul 19th, 2006 6:45 PM

free-zombie: Has libgaim actually been released? It seems like the ongoing quest to separate UI from logic has been a perennial thing for the Gaim project.

linxis: I have very little idea what you're talking about.


All times are GMT -5. The time now is 12:50 AM.

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