mIRC Home    About    Download    Register    News    Help

Print Thread
Forward echoes to seperate window ? #37086 18/07/03 11:28 PM
Joined: Jul 2003
Posts: 1
M
MrNiceGuy Offline OP
Mostly harmless
OP Offline
Mostly harmless
M
Joined: Jul 2003
Posts: 1
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..

Re: Forward echoes to seperate window ? #37087 18/07/03 11:40 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
//echo @window test?


new username: tidy_trax
Re: Forward echoes to seperate window ? #37088 19/07/03 10:11 AM
Joined: Dec 2002
Posts: 1,321
H
Hammer Offline
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
/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).


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
Re: Forward echoes to seperate window ? #37089 20/07/03 02:24 AM
Joined: Jan 2003
Posts: 3,012
KingTomato Offline
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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


-KingTomato