irc

Python IRC bot and encoding issue

Currently I have a simple IRC bot written in python. Since I migrated it to python 3.0 which differentiates between bytes and unicode strings I started having encoding issues. Specifically, with others not sending UTF-8. Now, I could just tell everyone to send UTF-8 (which they should regardless) but an even better solution would be tr...

How to strip color codes used by mIRC users?

I'm writing a IRC bot in Python using irclib and I'm trying to log the messages on certain channels. The issue is that some mIRC users and some Bots write using color codes. Any idea on how i could strip those parts and leave only the clear ascii text message? ...

Customizing Sort Order of C# Arrays

Hey there. This has been bugging me for some time now. I've tried several approaches and none have worked properly. I'm writing and IRC client and am trying to sort out the list of usernames (which needs to be sorted by a users' access level in the current channel). This is easy enough. Trouble is, this list needs to added to whenever...

Would it be ridiculous to use a switch statement to handle irc server codes?

There are quite a few of IRC server codes I am working on a small IRC client for Adobe AIR, and I started out by supporting only a few of these initially, and then a switch statement didn't seem like a bad idea. But as I support more and more, the switch statement is getting longer and it feels like it's a little out of control. One iss...

Python IRC client: write from scratch or write plugin for existing framework?

For our company I'd like to have a Python based IRC bot which checks whether the websites of our clients are still up and running. More specific: I want to list a number of URL which should be visited every, say, 15 minutes. If it fails, the URL should be checked again after 5 minutes. If retrieving the URL still doesn't result in an HTT...

IRC Python Bot: Best Way

I want to build a bot that basically does the following: Listens to the room and interacts with users and encourages them to PM the bot. Once a user has PMed the bot engage with the client using various AI techniques. Should I just use the IRC library or Sockets in python or do I need more of a bot framework. What would you do? Th...

What is the best IRC network for Java (#java)?

Is efnet the network to be on in #java? Or are there other more active networks? ...

How do you address data returned to a socket in python?

Say you are telneting into IRC to figure out how it all works. As you issue commands the IRC server returns data telling you what it's doing. Once I have created a default script that basically is how a normal IRC connection between server and client occurs, if it ever deviates from that it won't tell me what is wrong. I need to be ab...

Improve a IRC Client in Python

Hello, How i can make some improvement in my IRC client made in Python. The improvement is: How i can put something that the user can type the HOST, PORT, NICK, INDENT and REALNAME strings and the message? And here is the code of the program: simplebot.py import sys import socket import string HOST="irc.freenode.net" PORT=6667 NIC...

How to make the program run again after unexpected exit in Python?

I'm writing an IRC bot in Python, due to the alpha nature of it, it will likely get unexpected errors and exit. What's the techniques that I can use to make the program run again? ...

Plugins / modules for my C# program

i am making a IRC bot in C#, and i would like to have the feature to load plugins... for example: there would be a text file with some code in it, and then the program would import the contents of that text file AS CODE... into a function... how is this possible? ...

Looking for a pure PowerShell IRC client

I'm looking for a IRC client library/script written in PowerShell. The goal is to replace a Perl script that uses Net::IRC to communicate with a MindAlign channel. SmartIrc4net will do in a pinch, but I'd rather have a pure implementation for simplicities sake. Ideas? ...

I am looking for a JavaScript IRC client

http://sourceforge.net/projects/jisirc/ is exactly what I need, only problem is it has multiple ActiveX dependencies and that will not do. Does anyone know of any similar projects which are more portable? ...

Embed mIRC Color codes into a C# literal?

I'm working on a simple irc bot in C#, and I can't figure out how to embed the typical mirc control codes for bold/color etc into string literals. Can someone point me towards how to do this? ...

Best IRC server for programming channels?

I've always used EFnet for IRC but discovered Freenode recently. Is this the most populated server for programmers in general? ...

C# irc bot connection class

alright, so im making an irc bot, and im wondering a few ways that i could create a connection class, so that i can connect to multiple networks, i have it connecting to one server, i just dont know how to make that into a way to connect to more than one. basically my question is: how can i take the current bot i wrote, rewrite it, with...

Determine If a User Is Idented On IRC

In my IRC Bot, there are some commands that I want to only be usable by me, and I want to check to make sure that anyone using my name is identified with nickserv (idented). I couldn't, however, find an easy way to determine this, which is why I'm here. Freenode and Rizon are the primary target networks, if that matters. Edit: I was ac...

Threading / Linq Class list problem

Ok, so ive been writing a very complex multiserver irc bot recently, and ive encountered an issue.. i stipped down the code as much as i could because its very large, the full code is here: http://pastie.org/691449.txt so what my issue is, when i call the Disconnect() void in Connection, instead of disconnecting and closing the given se...

(Delphi 2009) idIRC, MDI, and problems with hanging.

I'm working on an IRC client. I've hit a majors snag which, up until not I've been able to work around. I'll show code below. What's I'm having a problem with is creating MDI child windows within the event handlers of idIRC. For example, if I want to create a new channel form (FrmChannel), I can accomplish this easily by calling it's c...

Creating an SendQ for my tcp client in C#

Well, my project is an IRC Bot. and all outgoing information gets controlled and formatted to raw data by methods, and then gets sent to one main void, which then sends the data to the server. Im looking for a way to create a SendQ, if that is the correct term for all out going information, here is an example: Id want say, if i sent 20 ...