mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2011
Posts: 23
Q
Quinch Offline OP
Ameglian cow
OP Offline
Ameglian cow
Q
Joined: Nov 2011
Posts: 23
Er, hello. I'm hammering out an application in C# to essentially act as a bot, and I'm wondering, what would be the best way to send any and all text output from mIRC to it for processing?

Fair warning, I am completely inexperienced in mIRC scripting, and almost completely so in programming in general - this is my learn-by-doing project, so feel free to assume you need to spell things out for my ignert self to understand. So far I've resorted to monitoring and reading log files - probably one of the worst available ways to do it.

Last edited by Quinch; 04/12/12 03:15 PM.
Joined: Mar 2010
Posts: 146
Vogon poet
Offline
Vogon poet
Joined: Mar 2010
Posts: 146
Well, I guess the easiest way would be:
In mIRC, write your messages into a file and by using a FileSystemWatcher in C# you can monitor the file and read it :P


Nothing...
Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
If it's going to be a bot, why not just have it connect to the network and then it will receive all channel messages directly?


Invision Support
#Invision on irc.irchighway.net
Joined: Sep 2005
Posts: 2,881
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Sep 2005
Posts: 2,881
Sockets would probably be the most efficient way within the constraints of mIRC.

Correct me if I'm wrong anyone!


Link Copied to Clipboard