irc

VB.net Regex Get Information

Well I am currently trying to get the word/text in between these 2 things : and ! I tried this Dim nick As String = String.Empty Dim p = ":(?<ircnick>.*?)!" Dim Matches = Regex.Matches(mail, p, RegexOptions.IgnoreCase Or RegexOptions.Singleline) If Matches IsNot Nothing AndAlso Matches.Count > 0 Then ...

How can I get the nickname and message from raw IRC data in vb.net

Well basically I've got a vb.net script connecting to IRC, and I'm working on making it a basic chat system, but I've run into a problem. Say I receive this: :[email protected] PRIVMSG #channel :message I want to grab specific information to output to the user. I want to grab nickname and message How can ...

How to decrypt IRC Bot's blowfish encrypted messages.

I am making an IRC bot in php to read content of a channel. Bot is done fine.But the messages are encrypted With blowfish encryption. i have the key and all, i tried PHP's code below but didn;t worked. echo mcrypt_decrypt(MCRYPT_BLOWFISH,$key,$input,MCRYPT_MODE_ECB); For more help the encryption is done via drftpd site bot. I can fin...

How do i program a simple IRC bot in python?

Hi every one. I need help writing a basic IRC bot that just connects to a channel.. is anyone able to explain me this? I have managed to get it to connect to the IRC server but i am unable to join a channel and log on. The code i have thus far is: import sockethost = 'irc.freenode.org' port = 6667 join_sock = socket.socket() join_sock.c...

Good ruby irc client library

I'd like to write a irc bot. (please reply with a good irc client library and not a bot framework). __ why the downvote? I simply like to know which libary is fairly decent and well maintained as there are quite a few ruby irc libraries. ...

Experience using IRC to coordinate software development?

I am part of a growing software project with at least 200 active developer in 10 locations. I would like to set up an on-line chat forum for developers because I think it would help to coordinate efforts. We have an email mailing list but I feel like some questions or announcements are too informal to send to everyone while mentioning ...

socket.error: [Errno 10054]

import socket, sys if len(sys.argv) !=3 : print "Usage: ./supabot.py <host> <port>" sys.exit(1) irc = sys.argv[1] port = int(sys.argv[2]) sck = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sck.connect((irc, port)) sck.send('NICK supaBOT\r\n') sck.send('USER supaBOT supaBOT supaBOT :supaBOT Script\r\n') sck.send('JOIN #darkundergro...

Suggestions for a IRC client implementation on Web platforms

Hello guys, I want to put an IRC client in my webpage. I know there are many clients but not opensource ones (I didn't find any). So, do you know some free and open source projects to implement an irc client on a webpage? And what do you suggests in term of implementation? I mean is it a good idea to have one made in flash?, one made i...

Python IRC Client

import socket, sys, string if len(sys.argv) !=4 : print "Usage: ./supabot.py <host> <port> <channel>" sys.exit(1) irc = sys.argv[1] port = int(sys.argv[2]) chan = sys.argv[3] sck = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sck.connect((irc, port)) sck.send('NICK supaBOT\r\n') sck.send('USER supaBOT supaBOT supaBOT :supa...

C++ Socket Connection Error

EDIT I've made changes to what I saw below and this is what I have #include <sys/socket.h> #include <netinet/in.h> #include <sys/un.h> #include <arpa/inet.h> #include <netdb.h> #include <string> #include <vector> #include <iostream> #include <cstring> #include <cstdlib> #include <errno.h> using namespace std; string buffer; vector<s...

How to Log All IRC data on Channel Using Twisted?

I have a somewhat unique request. What I am looking to do is listen on a specific port for all traffic coming through via IRC protocol. I then want to log all of those messages/commands/ect. I do not, however, want to join the channel. I just want to listen and log. Is there an easy built in way to do this? I have been looking at the irc...

Good Example of Twisted IRC Server?

I'm in the process of experimenting a bit with the twisted libraries for IRC servers/clients. I've found a few good examples of how to implement an IRC client but seem to find anything good on the server side of things. Could anybody provide some insight into how to create a basic IRC server in twisted? Edit: What about building off of ...

'METHODNAME' as Client method versus irc_'METHODNAME' in twisted

Looking at twisted.words.protocols.irc.IRCClient, it seems to me like there are some strangely redundant methods. For instance, there is a method 'privmsg' but also a method 'irc_PRIVMSG' As another example consider 'join' and 'irc_JOIN' What I want to know is why the redundancy, those are just two examples of many. Are the two differe...

Why does boost::asio appear to do nothing.

I'm trying to implement the irc protocol in a very basic manner. My first attempt is to use boost::asio and connect to a server and read the motd. AFAIK the motd is sent to every client when they connect. I have made the following test program and it seems to not do anything. It's not a very good piece of code but this is all I have afte...

Connecting to an IRC server using C#

I've been trying my hand at a minimalistic IRC bot, but I can never get a connection to work. I'm doing this via a TcpClient object, which I've seen used in other such projects and those reportedly work. Here's the code. private string server = "irc.freenode.net"; private int port = 6667; private string nick = "testingsharpbot"; priva...

Getting User Count From IRC

I am making IRC chat client and I am wanting to grab the user list or simply the user count, how can I go about doing this. This is the method I'm using to connect to the IRC: Private Sub IRCConnect() Dim stream As NetworkStream Dim irc As TcpClient Dim reader As StreamReader Try irc = New Tcp...

VB6/IRC PING & PONG Problem

I am not able to PONG back the PING to IRC, which sends back a "You must register first" error, here is the code I'm using: Private Sub wsConnect_DataArrival(ByVal bytesTotal As Long) Dim strData As String wsConnect.GetData strData If InStr(strData, "PING") <> 0 Then MsgBox ("Success!") 'Check it's receiving it. ...

I want to program an IRC bot in node.js. What are the discrepancies between the networks?

I want to setup a trivia bot and while I know there are many other bots around ( Eggbot, various Python bots, Nerfbendr's Trivia Bot ), I want to do it for learning purposes too so I understand the protocol. To save some time for myself, can anyone point out what differences there are between the various networks like Freenode, Efnet, G...

Sanitizing Input from irc

So I was thinking of writing a irc bot/bot extension that lets users play certain text based games by starting the game, sending parts of certain lines they enter(regexp match for game signal if not in bots channel ex. rbot gamename enter the forest . sends "enter the forest) to std in of game, while standard out of game is cached by ...

IRC bot functionalities

I'm learning Python and would like to start a small project. It seems that making IRC bots is a popular project amongst beginners so I thought I would implement one. Obviously, there are core functionalities like being able to connect to a server and join a channel but what are some good functionalities that are usually included in the b...