Currently:
on ^*:OPEN:=:echo -s You won't see this text until the other guy accepts this DCC connection!
on *:OPEN:=:echo -s You won't see this text until the other guy accepts this DCC connection!
This is by design. But it is bad. It means that when a not-yet-connected DCC Chat window is opened via
non-scripted means (either
ALT-C, or
Tools > Chat, or "
/dcc chat" without further parameters), it becomes impossible for your scripts to detect and perform actions on that window (e.g.
echo =$nick Hello, I'm your new window! or
/dcc chat -c oldname newname), or to otherwise perform actions related to its creation (e.g.
echo -s Heads up, outgoing DCC Chat attempt has begun!), until/unless the other person accepts your connection.
So how about:
on ^*:OPEN:=:echo -s You WILL see this text BEFORE the other guy accepts this DCC connection!
on *:OPEN:=:echo -s You won't see this text until the other guy accepts this DCC connection!
on ^*:OPEN:!:echo -s You WILL see this text BEFORE the other guy accepts this DCC connection!
on *:OPEN:!:echo -s You won't see this text until the other guy accepts this DCC connection!
Thanks.