mIRC Homepage
Posted By: MrNiceGuy Forward echoes to seperate window ? - 18/07/03 11:28 PM
Hi smile

I've searched around for this, but doesn't seem to be possible, but I will try and ask anyway.

Is it possible to forward all echoes to a @window ?
I know you can with notices, so I imagine it's possible with echoes aswell, I just haven't found anything about it..
Posted By: pheonix Re: Forward echoes to seperate window ? - 18/07/03 11:40 PM
//echo @window test?
Posted By: Hammer Re: Forward echoes to seperate window ? - 19/07/03 10:11 AM
/echo is a command that you (or your script) issue to tell mIRC where to put a certainly line of data. What that means every /echo that occurs do so because you have told mIRC to do it explicitly. That being the case, all you need do is search through your script and change them all to /echo to a certain window (if that is your preference).

However, I believe you will find that you do not really want that, you simply want a certain type of message to go to a single custom window, such as perhaps CTCPs or notices sent directly to you (rather than a channel notice of some kind).
Posted By: KingTomato Re: Forward echoes to seperate window ? - 20/07/03 02:24 AM
In addition to Hammer, you could however modify the echo alias, ad make them echo in the specific window. Something like

alias echo {
if (-* iswm $1) /echo $1 @window $2-
else /echo @window $1-
}

That doesn't account for the manu possibility of echo such as if the first parameter is a number, it should go before the @window making it a color parameter, but its simplistic. If you only have things like

/echo -s Some text
or
/echo hello

you should be fine >:F
© mIRC Discussion Forums