IChatbot: MSN chatbot written in Python
Python libraries used:
- Alberto Bertogli's msnlib
- Cort Stratton's PyAIML
These libs are already included in the package, no separate download is needed.
Prerequisite:
- Python version >= 2.2.2
- fortunes and fortune-zh, both are optional by removing the line
- Windows Live ID (for robot)
clist=[fortune, fortunezh]
Install and run
- Check out latest repository
svn checkout http://ichatbot.googlecode.com/svn/trunk/ ichatbot-read-only
- Open chatbot.py, change chatbot MSN email, password, botname and admin_email
- Change your bot profile in chatbot.ini such as chatbot's name, master, birthplace etc
- run ./chatbot.py and your robot is ready for chat on MSN
- say 'help' to your bot on MSN to list available commands
Notice: It may take minutes to load aiml databases for the first time run, be patient
Sample robot:
add albert@huichen.org to your friend list
Note:
MSN protocal may change a lot in future, please keep an eye on msnlib's webpage if newer version is released. For updating msnlib, you only need to replace msnlib.py and msncb.py files.