dAmn Interoperability Project — READ-ONLY ARCHIVE

 [FrontPage]

dAmnBot

What is it? Well, it's a bot, for dAmn, written in PHP by [WWW] doofsmack. It's not done yet, but it is functional. Source is GPL. If you use it, I'd appreciate it if you let me know.

Installation

Make sure your PHP is compiled with Sockets support. If you're using UNIX, recompile your PHP if you need, Windows users should have a look at [WWW] http://php.planetmirror.com/manual/en/install.windows.php (the PHP for Windows Install Guide).

Download the bot and put it in any directory. Then create the directory plugins and the files channels.txt and autoresponses.txt in the same directory you put the bot .php. Into channels.txt, put all channels you want the bot to join in the format chat:channelname (without leading #), e.g. chat:devart. Leave autoresponses.txt empty.

Usage

First, you'll want to change the following lines to the correct values:

dAmn_Login('[bot username]', '[bot authtoken]');
user_add('[owner username]', 'owner');

Then create a directory named "plugins" in the same directory the script is

Then run it:

kevin@ducttape dAmnBot $ php dAmnBot.php

Your bot will join #damnhack by default.

Please don't contact us seeking help in setting up a bot. We're providing this as-is.

Downloads

dAmnBot has been discontinued, downloads are no longer offered here. Please don't contact us looking for it.

Plugins

If you're writing a plugin that's not in the plugin repository, please leave a note here so others don't waste their time duplicating your effort.


2013-03-28 12:59