PDA

View Full Version : So... what kind of things do you need to bare in mind when writing a bot?


Skunk
20-05-2001, 00:02
I'm learning Python at the moment and (in order to try out the language in a 'real' environment) I've decided to write an IRC bot. It's not going to be a particularly serious one - it'll have a nice windows GUI interface (easily portable to X-Windows for *nix machines) and a basic set of bot features. I hope to make it ultra easy to add extra bits and pieces so I can use it as a framework for other bot related bits and bobs.

Here's the question though. I know enough about the IRC protocol to be able to write the thing, and I'm confident Python's socket programming abilities are more than up to the task. What I don't know are the other issues involved in writing a bot. In particular I need to know about things like flood protection (I know NOTHING about this) and any other important issues that should be considered in order to write a secure bot that can't be bullied by evil IRC script kiddies.

Any tips or links to good resources will be most welcome.

Cheers,

Skunk

Mozza
21-05-2001, 09:35
/join #feds
'Can i have a Q please?'
'Yes'
:spider:
:tounge:

Skunk
21-05-2001, 11:32
Q sucks. You can't make Q do tricks. My bot will do LOTS of tricks.

GameGuru
21-05-2001, 11:40
will it balance a ball on its nose? :E

Godin
21-05-2001, 12:01
bah, Gavbot does all that (bar the ball thing) and a bag o tricks, even if it is just an extended eggdrop ;)

Skunk
21-05-2001, 12:50
Any chance of getting back on topic some time? :P

Godin
25-05-2001, 19:26
topi...


sorry, lost it again ;)

Skunk
26-05-2001, 18:14
Found what I was after anyway:

http://www.user-com.undernet.org/documents//noflood9.html