Top

IRC connections using sockets


mIRC Code
+ 0 likes
Please Register to submit score.
Average Score  0.0
Scores Submitted  0
Date Added  Mar 08, 2008
Last Updated  Mar 08, 2008
Tags  bot  connect  irc  sockets 
  Bookmark and Share

Introduction

Automatically creates and maintains multiple socket connections to multiple IRC servers. The script should be added to to create more automated commands. Currently it returns PING replies from the server to maintain the connection and automatically joins a channel on connection.

Requires good knowledge of raw commands and decent knowledge of scripting in general.
Typing into a connection will send raw commands.
/writeall - Can be used to send raw commands to all connections.
/ircconnect [N] - Opens N new connections (N optional).

Grab the Code

Comments

  (5)  RSS
Noutrious
Comments: 355
 
mIRC Snippet:  IRC connections using sockets
Posted on Mar 18, 2008 12:10 pm
As far as i tested, it is not tested, it gets Client exited pretty much - how to bugfix that?
Daveoh
Comments: 27
 
mIRC Snippet:  IRC connections using sockets
Posted on Mar 18, 2008 3:05 pm
I used it myself and it works for at least QuakeNet and similar servers.
If others require different commands, they need to be added. Knowledge of the IRC server and raw commands is needed.
Noutrious
Comments: 355
 
mIRC Snippet:  IRC connections using sockets
Posted on Mar 20, 2008 12:12 pm
Yeah, it works - i added things i needed and everything is almost fine till the "Client exited" thing - it means, when the nick idles in the chan throught the sockets, it gets Client exited quits pretty much, is it PING PONG related or anything else - i dont know.
Just curios about how to fix that.
Daveoh
Comments: 27
 
mIRC Snippet:  IRC connections using sockets
Posted on Apr 17, 2008 11:14 am
I don't know what server you're using.
You should debug a normal, stable connection to the server to see what's happening.
(woops, deleted comment :P)
Noutrious
Comments: 355
 
mIRC Snippet:  IRC connections using sockets
Posted on May 10, 2008 4:07 am
Problem solved.

Please Register or Login to start posting comments.
Bottom