[REBOL] IRC BOT
From: ptretter:primary at: 3-Jan-2001 17:25
I know this issue has come up alot with people wanting to create an IRC BOT with REBOL.
I have made substanial progress in making one. Now I would like to make it a full fledge
project with help from everyone.
Currently, I have a bot script that reads a server.txt file and trys to connect with
each server in the list until it makes a connection then it automatically using its defaults
which can be configured from the script execution. If the script gets disconencted it
will start cycling again thru the connect function until it reconnects. This is done
automatically as it knows when the connection is lost. Also I have added alternate botname
just in case it connects and a nick is in use it can use the alternate. The bot script
will join a defaulted channel at startup and begin receiving commands immediately. The
bot currently supports - op, deop, kick, ban, join, part, list, say. The script has
alot more features up and coming. The commands are made thru a dcc chat session with
the bot. The chat session will automatically send a help.txt dump back to the initiator
with all the commands for the bot. It supports mutlitple dcc sessions but only one per
nick as it sets the dc!
c port name to the same as the nick requesting the chat. It has a masters password to
ensure that it knows who is the master and wont allow dcc chat until it has been established.
If the dcc session is dropped on the initiator end that port is also closed and removed
from the bot. Currently the bot only supports dcc chat session initiated by a notice
send from the initiator that contains the ip address to connect to - this is do to the
dword limits in REBOL but I am working ona workaround.
What I want to next is expand this bot even greater as I got alot of ideas for it. I
would like the initial interface for starting the bot to be in /View gui. Also, I would
like the bot input buffers to be in /View gui. I would like it to become more compatible
with other irc clients - Dword limit problem mentioned earlier. I would like someone
very familiar with eggdrop to provide input as well. I will also be making a website
for two versions the pure /core version and a /view version so that notes on the progress
can be inputed. The bot currently does error logging and will log to file all conversation
in a channel. I will be making alot of error function corrections as well to get much
better error handling.
Anyone looking to volunteer to join me and a few others in this effort?
Paul Tretter