#541 DCC events uncatchable by Perl script

closed-works-for-me
nobody
None
1
2004-03-30
2004-02-28
Daniel Lin
No

Running X-Chat 2.0.7, default Win32 build.

Demonstration.
I wrote a Q&D "debug.pl" (attached); all it does is try to
intercept every message possible and dump details of it
to the current window.

Client 1:
/load debug.pl
/server localhost
/join #test

Client 2:
/server localhost
/join #test

Client 1:
/dcc chat <Client 2>

Client 2:
/dcc chat <Client 1>
/msg =<Client 1> debug.pl does not catch this message
/msg =<Client 1> nor any other messages sent via DCC.

Does this mean the only messages which scripts can
catch are server messages? That's unfortunte, I think.

Discussion

  • Daniel Lin
    Daniel Lin
    2004-02-28

    Q&D message debugger; spews details out on everything it catches.

     
    Attachments
  • Logged In: NO

    DCC text is caught with print handlers/hooks by hooking the
    "DCC Chat Text" event

     
  • Daniel Lin
    Daniel Lin
    2004-03-10

    Logged In: YES
    user_id=719093

    Okay... I'll try that out.

    (As penance, my next project should be to write you guys
    some better X-Chat documentation, eh?)

     
  • Daniel Lin
    Daniel Lin
    2004-03-10

    • priority: 5 --> 1
    • status: open --> open-works-for-me
     
  • Logged In: NO

    That is already in the documentation. :)

     
  • Peter Zelezny.
    Peter Zelezny.
    2004-03-30

    • status: open-works-for-me --> closed-works-for-me