mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 27
S
silent Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 27
Hi,

i wanted to write a "buddylist". For that i have to react on the raw event 607 (End of WATCH list).

This event occurs, but somehow mirc wont catch it.

I had a samplescript like that:

Code:
raw 607:*:{
  echo -a hi
}


and the "hi" or whatever i have there wont be performed.
Even when the event occurs 100% for sure:

Quote:
<- :irc.ffm.de.euirc.net 607 silent :End of WATCH S


Just put a nick in your notifylist and see yourself.

Is that a bug?

Joined: Feb 2003
Posts: 810
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Feb 2003
Posts: 810
Confirmed here

Joined: Dec 2002
Posts: 580
N
Fjord artisan
Offline
Fjord artisan
N
Joined: Dec 2002
Posts: 580
Until fixed, you could use the debug output itself to generate a RAW.607 signal.
Code:
alias rawworkaround {
  var %Window $+(@Debug-, $cid)
  if (!$window(%Window)) {
    window -hvn %Window
    debug -i %Window on $ $+ debugh
  }
}
alias debugh {
  tokenize 32 $1 | if ($1 == &lt;-) { .signal -n RAW. $+ $iif($2 == PING, $2, $3) $2- }
}


Execute /rawworkaround in your connect event

Last edited by NaquadaServ; 21/10/06 05:54 PM.

NaquadaBomb
www.mirc-dll.com
Joined: Dec 2002
Posts: 27
S
silent Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Dec 2002
Posts: 27
Very thanks m8.

I hope that still gets fixed in the future version of mirc.


Link Copied to Clipboard