ADBRITE ads links
You are here: CodeIdol.com > Internet > IRC > Writing IRC Bots
IRC
| Programming IRC bots is fun and allows you to be very creative, as
you are responsible for everything they say and do. Later chapters
will show you how to create all sorts of IRC bots to log channels,
create comic strips, pass on messages, shar...
|
|
| Five years later, he clearly
defined the IRC
protocol in RFC 1459, which made the whole protocol much more
accessible. Armed with this information, you can get a better
understanding of this simple text-based protocol and learn how to
conne...
|
|
| In this example, you will build a
simple IRC bot that connects to an IRC server and joins a channel.
The term "bot"
is commonly used to describe an automated IRC client and is a
contraction of
"robot." You
will get the bot to output infor...
|
|
| Net::IRC is a Perl module that lets you make IRC
clients. It allows you to think about what your bot actually does,
instead of having to think about all those little noninteresting
protocol details [Hack #32] . This
hack will explain how ...
|
|
| Using a Java program to connect to IRC is perhaps the most
flexible solution, as it can run on any machine that has a
Java Virtual Machine installed and can
also run inside a web browser as an Applet.
5.5.1 The Code
Save
the
...
|
|
| It allows you to abstract yourself away
from the underlying protocols and concentrate on making bots that do
something useful. Using this framework is much easier than
implementing all of the grunt work by yourself. Connecting to a
server, fo...
|
|
| Python is becoming a
popular language for writing IRC bots. This can be attributed to the
way you can achieve quite a lot with just a little bit of code.
Python does not include an IRC module as standard, but there are a
few Python IRC module...
|
|
| It also
has support for extensions so a programmer can add his own events and
functions to the library. The latest IRCLib can be downloaded from
http://irclib.bitlbee.org.
We'll assume you already know how to install Python
modules, sinc...
|
|
| This hack shows you how to write an
extension for IRCLib [Hack #37] .
Extensions are simply Python scripts that add events and/or methods
to the IRCLib classes. This allows you to have a modular, incremental
approach to creating bots, adding...
|
|
| You may wonder why—after all,
what's the difference between a bot and regular
chatter? They're totally identical as far as the
server is concerned, and even human users may find it difficult to
see the difference immediately.
Most IRC ne...
|
|
You are here: CodeIdol.com > Internet > IRC > Writing IRC Bots
|
|
Related tags
Popular Categories
Unix books and guides
AJAX popular information
C# language guides
Windows books and cookbooks
.......
|
|