mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Hello,

If the confirm exit window is open and a timer running with "exit -n" or "exit -nr" command then the mIRC does not bypass the confirm window to exit the mIRC.

E.g:
Code:
//exit | timer[exit] 1 3 exit -n

- Thanks!


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
I cannot reproduce this. /timer 1 3 exit -n worked without confirmation for me.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
Make sure you have these settings, the 2 always checked:



Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Yes, I tested this with a regular /exit beforehand. I cannot reproduce this.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
If you are using mIRC 5.91 thats normal.

Just in case you don't believe: http://goo.gl/tc1gOA


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
I can reproduce, using the beta (win7), /exit brings up the confirmation window, in the background you can see the timer being activated and halted, but mIRC didn't exit


#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Oct 2003
Posts: 3,918
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,918
Sorry, I did not realize that the issue was with a double /exit. I can reproduce with the code provided. I do wonder if this might be intentional, though.


- argv[0] on EFnet #mIRC
- "Life is a pointer to an integer without a cast"
Joined: Dec 2008
Posts: 1,515
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,515
It's not only just an double /exit , if you click into the X button and the Confirm Window will open and an code will use /exit -n or -nr then the mIRC will not exit too, here the problem is that the mIRC stop the /exit -n command if the confirm window is open but it shouldn't.


Need Online mIRC help or an mIRC Scripting Freelancer? -> https://irc.chathub.org <-

Link Copied to Clipboard