mIRC Home    About    Download    Register    News    Help

Print Thread
#189555 08/11/07 09:15 PM
Joined: Nov 2007
Posts: 13
7
Pikka bird
OP Offline
Pikka bird
7
Joined: Nov 2007
Posts: 13
Hi,

I'm on a channel with alot of people. Now there is one of those "ops" discussions, and some people don't want to log in anymore. But they still want to read all the messages... in real time.

How can I make some sort of "shadow channel"? That is: every message in one channel (lets say chanX) must also be displayed on another one (chanY).

I've tried:

on *:TEXT:*:#chanX: /msg #chanY < $+ $nick $+ > $1-
on *:ACTION:*:#chanX: /msg #chanY < $+ $nick $+ > $1-

That works... partially. But I'm missing the joins, nickname changes, my own messages, etc.

A solution would be: display the whole log of the channel, but I can't figure out how to do that. The /play has no option to jump to the last record in a logfile.

Anyone any idea?

Greetings, -=7th Heaven=-

Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Well, you are very close with this solution.
You just need to expand it, with the stuff you are missing.

Like:
on *:JOIN:#chanx:{ msg #chany $nick has joined. }
on *:PART:#chanx:{ msg #chany $nick has left. }
on *:NICK:#chanx:{ msg #chany $nick has changed his nickname. }
etc.

Read up on these events.
But thats the way forward.

Good luck.

Joined: Nov 2007
Posts: 13
7
Pikka bird
OP Offline
Pikka bird
7
Joined: Nov 2007
Posts: 13
thanx for the -very- quick reply! smile

Yep, I can add the join / part / nick / (and the kick, ban etc.) I'll try that.
But then I still haven't got my own messages, which I typed in the original channel...

Wouldn't it be easier to "redirect" the logfile from one channel to another channel? Is that possible?

Joined: Apr 2006
Posts: 464
O
Fjord artisan
Offline
Fjord artisan
O
Joined: Apr 2006
Posts: 464
Well, with a log file you have to keep pumping lines into that channel. It can get you flooded off.
I think the best way is to proceed like you were doing.

For your own messages you need the on INPUT event.
/help on input

Also check out:
/help events

I think this is the most efficient way.
Perhaps others have different idea's on it though.


Link Copied to Clipboard