mIRC Homepage
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.
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
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?
Sockets would probably be the most efficient way within the constraints of mIRC.

Correct me if I'm wrong anyone!
© mIRC Discussion Forums