IRC BOT
[1/5] from: mat:eurogamer at: 4-Jan-2001 1:34
Heya Paul,
PT> I know this issue has come up alot with people wanting to create
PT> an IRC BOT with REBOL. I have made substanial progress in making
PT> one. Now I would like to make it a full fledge project with help
PT> from everyone.
I wrote a fully functional one. It's an info bot though, I can't be
bothered doing channel enforcement stuff when Eggdrop does that fine.
Your stuff to do with multiple servers and reconnection etc sounds
pretty good - I do REALLY basic stuff on that front. I find my DSL and
the IRC server I use pretty damn reliable just to retry the same one.
PT> What I want to next is expand this bot even greater as I got alot
PT> of ideas for it. I would like the initial interface for starting
PT> the bot to be in /View gui.
I'm utterly uninterested in a GUI for an IRC bot. It doesn't need one
and I'm not happy with the situation with Rebol/view anyhow.
PT> I would like it to become more compatible with other irc clients -
PT> Dword limit problem mentioned earlier. I would like someone very
PT> familiar with eggdrop to provide input as well.
Look at the Eggdrop source? It's only done in TCL.
PT> all conversation in a channel. I will be making alot of error
PT> function corrections as well to get much better error handling.
That stuff sounds useful for me.
PT> Anyone looking to volunteer to join me and a few others in this effort?
Well I can give you a WHOLE LOAD of nifty functions that I added into
mine. Stuff like translate based on Bablefish. Ping, whois functions.
Dictionary lookup function. Expression Calculation. E-mailing and SMS
gatewaying complete with a CGI script which manages the users of this.
Tagline telling, joke telling (another site), BBC news headlines,
country TLD lookup. Google web search (the most useful by far!) and
FTPsearch (Lycos). I've even got Half-Life game server polling stuff.
All in my quick and dirty ultra-fast code - nasty as hell but they
work.
I'd like to rework by bot's error handling stuff so maybe we can work
something out to share code. Heh, if anyone can stand the sight of
mine :)
--
Mat Bettinson - EuroGamer's Gaming Evangelist with a Goatee
http://www.eurogamer.net | http://www.eurogamer-network.com
[2/5] from: ptretter:primary at: 3-Jan-2001 21:40
Cool Matt, I would like to take a look at your script. I dont mind any
program messes. I know mine is no better. Mine has alot further to go. I
dont know tcl but would be interested in getting to know what all an eggdrop
can do since I would at least like to clone those functions.
Paul Tretter
ps. if you got a bot that can grab a channel for me and hold it on efnet I
would appreciate it. I dont have 24/7 capabilities.
[3/5] from: zimmerman:chartermi at: 4-Jan-2001 0:32
paul==vein?
[4/5] 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
[5/5] from: bobr:dprc at: 5-Jan-2001 16:31
I have some interest in both scripts Paul.
yours and Mats.
I do not use /view.
At 09:40 PM 1/3/01 -0600, Paul Tretter wrote:
>Cool Matt, I would like to take a look at your script. I dont mind any
>program messes. I know mine is no better. Mine has alot further to go. I
<<quoted lines omitted: 72>>
>[rebol-request--rebol--com] with "unsubscribe" in the
>subject, without the quotes.
;# mailto: [bobr--dprc--net]
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted