mIRC Homepage
Posted By: silent Catching raw event 607 wont work - 21/10/06 08:29 AM
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?
Posted By: cold Re: Catching raw event 607 wont work - 21/10/06 01:59 PM
Confirmed here
Posted By: NaquadaServ Re: Catching raw event 607 wont work - 21/10/06 05:51 PM
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
Posted By: silent Re: Catching raw event 607 wont work - 23/10/06 09:21 PM
Very thanks m8.

I hope that still gets fixed in the future version of mirc.
© mIRC Discussion Forums