mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
hello again,

i'm trying to catch my own text from a chan window into a custom window.. this is what i have thus far:
Code:
on *:INPUT:%brum.OPChat.Chan: {
  if ($left($1,1) != /) { echo $1- @chat }
}
on *:ACTION:%brum.OPChat.Chan: { filter -zww %brum.OPChat.Chan @chat }
on *:TEXT:*:%brum.OPChat.Chan: { filter -zww %brum.OPChat.Chan @chat }
  


now this works(somwhat), but it only catches the text only after someone elses input.. meaning if i say somthing in the channel then paul says something whatever i say doesn't show untill the text that paul enters comes up...
(hope i'm aking sense here)

my goal is to catch all text by me and others (including, actions and notices) into the other window as they happen..

what would i have to do to accomplish this..?
any info is welcomed!

thanks in advance

Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
You missed the asterisk in the matchtext for On ACTION.

Code:
on *:INPUT:%brum.OPChat.Chan: { 
  if ($left($1,1) != /) { 
    if (!$window(@Chat)) { window @Chat | echo @Chat $1- }
    else { echo @Chat $1- }
  }
}

on *:ACTION:[color:red]*[/color]:%brum.OPChat.Chan: { 
  filter -zww # @Chat
}

on *:TEXT:*:%brum.OPChat.Chan: { 
  filter -zww # @Chat
}


Seems to catch everything I say.

Last edited by SladeKraven; 28/02/05 03:12 PM.
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
thanks slade,

now i have this question...

when i input to the chan it echos to che second window in this case @chat, but when another user inputs into the chan i get a double entry of what i said like this:
(this is what i had inputed)--> hello
* Now talking in #clutz
<@trgetcrsh> hello
* bashtr has joined #clutz
(the other nick said)--> <bashtr> howdy trgetcrsh

but notice the way it doubles what i say the first line is me.. the following after it is what appears after the other nick(s) say.. why is this?

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Because you're filtering everything from channel to @chat each time anyone else says anything, Try /echo instead wink

Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
ok, i should have realized that... blush

but, actually thats what i want exactly... to have it all like :
* Now talking in #clutz
<@trgetcrsh> hello
* bashtr has joined #clutz
<bashtr> howdy trgetcrsh

ultimatly i want like that.. i want to catch the notices with the nick attachments and such.. this is why i'm more or less playing with the filter command.. if theres better way to do that, i'm all ears ..

Joined: Aug 2003
Posts: 1,831
I
Hoopy frood
Offline
Hoopy frood
I
Joined: Aug 2003
Posts: 1,831
Well, you could add the -c (clear output window) switch I guess. Thing is, you won't see mode changes, kicks, quits, parts, joins, topic changes, etc until someone sends a new message. :shrug:

Edit: Unless that's not what you meant.... I'm not too sure what you meant by "notices with nick attachments".

Last edited by Iori; 28/02/05 07:13 PM.
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
Quote:
Thing is, you won't see mode changes, kicks, quits, parts, joins, topic changes, etc until someone sends a new message. :shrug:

Edit: Unless that's not what you meant.... I'm not too sure what you meant by "notices with nick attachments".


thats what i meant, basicly i want to echo everything from the chan window to the @chat window. the purpose of this is to be able to monitor what's going on while the chan window isn't on focus.. i'm sure theres a way to do this...
and what i was reffering to about nick attachments.. lol, i meant the nicks with prefixes (if applies).. (( sorry, i sortof made up my own lingo there blush ))..

would i be able to just use /echo like you suggested? somthing like: /echo $nick $2- ?


Link Copied to Clipboard