Botgan is a clear example of a simple chatbot that does little effort to simulate intelligent behaviour. The bot uses Kaskus' comments as "the source of knowledge" -- the language used is mainly Indonesian slang. This might sounds dumb, but common in the world of politics.
Always expect of the unexpected when you chat with Botgan. The bot's responses are, most of the time, incoherent or, sometime, offensive. It's guaranteed that you will be surprised, entertained or maybe amused as the bot responses are unpredictable.
This version of Botgan should work on any OS that has Python and with BeautifulSoup module installed.
From the command-line:
$ python botgan.py
> Hi apa kabar?
pertamax aman gak nih ?? jah kduluan !! wkwkww
> gak tau deh, emang penting ya?
sundul lagi gan
I'm tired of this kind of bullshit. I, hereby, choose WTFPL (Do What The Fuck You Want To Public License) for this code.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
0. You just DO WHAT THE FUCK YOU WANT TO.