mIRC Home    About    Download    Register    News    Help

Print Thread
#39488 03/08/03 08:27 PM
Joined: Aug 2003
Posts: 17
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Aug 2003
Posts: 17
just a very small thing i've noticed which, in my opinion, would be handy. consider ending the debugging automatically for a window that has been closed.

#39489 03/08/03 08:52 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
It does already, mIRC can't receive messages from rooms that you arn't currently present in. If you mean close the debug window then that is possible with scripting, though remember that a debug window will log for the server you are on, not just the room you issued /debug in.

#39490 03/08/03 09:00 PM
Joined: Aug 2003
Posts: 17
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Aug 2003
Posts: 17
i mean when i type /debug @win then i close the window, /debug will still show
* Debug output on (@win)

#39491 03/08/03 09:11 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
Obviously its going to show that its debugging in that window if you tell it to. Just becaue you close the window doesnt mean it should clear the line "* Debug output on (@win)" from the window you typed it in. Thats like saying that mirc should clear all the lines typed by a user from a channel when s/he parts the channel.


-KingTomato
#39492 03/08/03 09:13 PM
Joined: Aug 2003
Posts: 17
C
Pikka bird
OP Offline
Pikka bird
C
Joined: Aug 2003
Posts: 17
no. i receive that line when I type /debug after I close the window, it wasnt a part of the buffer before

#39493 03/08/03 10:05 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Yeah I see what you mean, seems sorta like a bug. For everyone who doesn't see what he means, type:
/debug
you get:
* Debug output off
type:
/debug @debug
you get:
* Debug output on (@debug)
type:
/window -c @debug
type:
/debug
you get:
* Debug output on (@debug)
type:
/debug off
you get:
* Debug output off
type:
/debug
you get:
* Debug output off

What he is saying is, why is it, after I close @debug, mIRC is still telling me it is logging to @debug and that debugging is still on. You shouldn't have to close the @debug window and /debug off, closing the window should implicitly call /debug off.

#39494 04/08/03 06:33 AM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
Code:

on *:CLOSE:@Debug*: .debug off

You could also rewrite /debug to allow for multiple @Debug windows open simultaneously by appending .$cid to the window name. (Or @Debug::$network::$server::$cid)


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#39495 05/08/03 12:44 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
on *:close:@*:if ($target == $debug) .debug off
will be better


Link Copied to Clipboard