mIRC Homepage

sending message to channel

Posted By: gbrenson

sending message to channel - 12/08/05 06:47 PM

Is there a way to enter a message in a active channel through a program or from DOS?

Regards, GB
Posted By: SladeKraven

Re: sending message to channel - 12/08/05 08:15 PM

It could possibly be done with Com Objects, look for a tutorial on mIRCScripts.org if you don't know how COM Objects work or maybe the experienced coders here will give you some examples or pointers. smile

-Andy
Posted By: FiberOPtics

Re: sending message to channel - 12/08/05 08:57 PM

To communicate to mIRC from your application you can use dde or sendmessage. For information on both, and how to communicate with mIRC, check the help file.

/help dde
/help sendmessage

COM will be of no help for you, since COM is called from within mIRC whilst you want to communicate from an external program to mIRC. No you cannot communicate from DOS to mIRC. It is possible with COM to communicate with DOS, and return information from DOS to mIRC, but that means all code is processed on mIRC's side. That doesnt' seem to be what you're asking. You want to use a command in DOS and want it to appear in mIRC I suppose? That can't be done.

Note that the dde and sendmessage tips are for when you are developing an application, and wish to be able to communicate with mIRC. Obviously you cannot communicate with mIRC with an application that does not support this kind of features.

If you can program, which I assume you can, you can create a DLL, which can act as the intermediary between your application and mIRC, if for some reason dde and sendmessage are not sufficient for you.
© 2020 mIRC Discussion Forums