mIRC Home    About    Download    Register    News    Help

Print Thread
#233364 07/08/11 02:01 PM
Joined: Apr 2010
Posts: 59
A
Babel fish
OP Offline
Babel fish
A
Joined: Apr 2010
Posts: 59
Hello,

Channels have the option to direct their events to one of three places: status, window, or none.

I would like an additional option, which is a separate window. The separate window may be specified by the user or pre-defined. In either case, if multiple channels are dumping to the same window, possibly their network, and the channel name may be required to be affixed to each message.

Another option with the same effect would be to duplicate the text and/or specified messages in the second window.

Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
This is probably the easiest thing to script:

Code:
alias -l ewin if (!$window(@EVENTS)) window @EVENTS | echo -t @EVENTS * [[ $+ $network $+ $iif(#,: $+ #,) $+ ]] $1-
on *:JOIN:#:ewin $nick joined ( $+ $fulladdress $+ ).
on *:PART:#:ewin $nick parted ( $+ $fulladdress $+ ) ( $+ $1- $+ ).
on *:QUIT:#:ewin $nick quit ( $+ $fulladdress $+ ) ( $+ $1- $+ )
; etc...


Add in any other events you want putting notices in that window. You can customize it more to make it work better for you.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"

Link Copied to Clipboard