mIRC Homepage
Posted By: vexed2 Dcc chat - 07/06/07 12:43 PM
I use The on *:OPEN:?:*:{ event and an alias to echo some info to the query window, For example

Nickname:
Address:
Common chans:
Queries today:

etc

I was wondering if that can be done if you recieve or send a dcc chat invite, show in the dcc window

Dcc chat with:
Address of the chatter:
Port number:

thanks for any help.
Posted By: RoCk Re: Dcc chat - 07/06/07 01:26 PM
You can use..

Code:
on *:OPEN:=: {
  echo =$nick DCC chat with: $nick
  echo =$nick Address of the chatter: $chat($nick,1).ip
  echo =$nick Port number: n/a
}


..but there's no port property for the $chat identifier, I've always wondered why.
There's also no port property for $send and $get .. I would think there would be.
Posted By: vexed2 Re: Dcc chat - 07/06/07 02:24 PM
I thought i'd been down this route about a year ago lol
It doesn't work
I tried this before and couldn't understand why
Posted By: deegee Re: Dcc chat - 07/06/07 04:26 PM
Make sure there isn't another on open event in the same file, it should work fine.
Posted By: vexed2 Re: Dcc chat - 07/06/07 04:36 PM
Tried it on a plain mIRC, doesn't trigger if i start a dcc chat, or someone else does.
Posted By: RoCk Re: Dcc chat - 07/06/07 06:44 PM
type /remote on
Posted By: vexed2 Re: Dcc chat - 07/06/07 06:48 PM
You really think i'm that silly?
I have a plain mIRC, everything on, that small piece of code, it does not work.

Infact, as i've told you it doesn't work makes me wonder if any of you have tried it? smirk
Posted By: RoCk Re: Dcc chat - 07/06/07 06:54 PM
lmao .. yup, just tried it successfully.

~ Edit ~
..not that I had any doubt.
Posted By: vexed2 Re: Dcc chat - 07/06/07 06:57 PM
Plain mIRC is open with that code, NOTHING echos!

Well you look at this picture then, and prove me wrong.

Picture here

Edit 2: It seems this is a windows vista/mIRC problem why this isn't working.
I have a friends laptop with me which uses vista and it doesn't work on there either
Tried it on my mothers XP laptop and it works
Posted By: RusselB Re: Dcc chat - 07/06/07 10:01 PM
Well, if you look at your screenshot, you'll see that it says
Quote:
Unable to connect
, which means that the DCC chat is never opened, and, therefore, the ON OPEN event never gets triggered.

The problem isn't with the script, but rather the fact that the DCC chat session never connects.
Posted By: vexed2 Re: Dcc chat - 08/06/07 12:57 AM
But i've tried it with other people where it connects.
That's Irelivant, this is about the window opening anyway.
The other on open events work.
© mIRC Discussion Forums