mIRC Home    About    Download    Register    News    Help

Print Thread
#178242 07/06/07 12:43 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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.

vexed2 #178246 07/06/07 01:26 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
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.

Last edited by RoCk; 07/06/07 01:36 PM.
RoCk #178252 07/06/07 02:24 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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

vexed2 #178263 07/06/07 04:26 PM
Joined: Jun 2006
Posts: 508
D
Fjord artisan
Offline
Fjord artisan
D
Joined: Jun 2006
Posts: 508
Make sure there isn't another on open event in the same file, it should work fine.

deegee #178264 07/06/07 04:36 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
Tried it on a plain mIRC, doesn't trigger if i start a dcc chat, or someone else does.

vexed2 #178268 07/06/07 06:44 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
type /remote on

RoCk #178269 07/06/07 06:48 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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

Last edited by vexed2; 07/06/07 06:51 PM.
vexed2 #178270 07/06/07 06:54 PM
Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031
lmao .. yup, just tried it successfully.

~ Edit ~
..not that I had any doubt.

Last edited by RoCk; 07/06/07 06:57 PM.
RoCk #178271 07/06/07 06:57 PM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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

Last edited by vexed2; 07/06/07 07:38 PM.
vexed2 #178284 07/06/07 10:01 PM
Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
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.

RusselB #178294 08/06/07 12:57 AM
Joined: Mar 2007
Posts: 218
V
vexed2 Offline OP
Fjord artisan
OP Offline
Fjord artisan
V
Joined: Mar 2007
Posts: 218
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.


Link Copied to Clipboard