mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jan 2007
Posts: 20
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jan 2007
Posts: 20
When using an on ACTIVE event, it does not get triggered when you activate a Status Window, but $lactive will say "Status Window" when you switch away from the Status Window to a channel window. This is using mIRC 6.31 under Windows 2000 Pro SP4. I have not tested to see if this occurs with previous versions of mIRC.

Joined: Dec 2002
Posts: 2,031
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Dec 2002
Posts: 2,031

It worked correctly here. v6.31 on 2K Pro SP4 and XP Pro SP2.

on *:ACTIVE:*:echo -a $active ~ $lactive

Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
hum, I also cannot confirm this (XP MCE)...
Code:
on *:active:*: { echo -tsn using mirc $version - hopped to $active on cid $activecid last was $lactive }
(click in channel)
[23:53:11] using mirc 6.31 - hopped to #testings on cid 1 last was #testings
(click in status1)
[23:53:14] using mirc 6.31 - hopped to Status Window on cid 1 last was #testings
(click in status2)
[23:53:16] using mirc 6.31 - hopped to Status Window on cid 193 last was Status Window
(click in channel)
[23:53:20] using mirc 6.31 - hopped to #testings on cid 1 last was Status Window
(click in status2)
[23:53:21] using mirc 6.31 - hopped to Status Window on cid 193 last was #testings
(click in status1)
[23:53:23] using mirc 6.31 - hopped to Status Window on cid 1 last was Status Window

Joined: Jan 2007
Posts: 20
C
Ameglian cow
OP Offline
Ameglian cow
C
Joined: Jan 2007
Posts: 20
I looked over your code and then looked at mine, and realized what I did wrong, I had the target set to # and not *. So it was nothing more than a script problem. My bad, sorry for making it sound like a bug.


Link Copied to Clipboard