|
|
Joined: Sep 2003
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Sep 2003
Posts: 9 |
the subject says it all, but I will elaborate. The exit event is called when you close mirc. it is usually used for cleaning up after scripts and such. i would like to be able to halt this event, so that the event happens when someone TRIES to close mirc, but then mirc doesnt actually close (halting the default result, just like in any other event). to anyone who calls this a useless idea, i saw someone today ask how to script something that cant be done without this. they wanted to make mirc minimize to the tray instead of closing when they clicked the X. this would be possible if you could halt the exit event. and, as to actually exiting, you just put in a button or an alias called /exit that disables the exit-halting event THEN exits.
|
|
|
|
Joined: Jun 2003
Posts: 195
Vogon poet
|
Vogon poet
Joined: Jun 2003
Posts: 195 |
actually i find this quite usefull and very easy to implement. however instead of making it scriptable perhaps in the options since mIRC already has a confirm setting perhaps adding "Place in tray on close" to the confirm dialog options might be usefull.
Have Fun
|
|
|
|
Joined: Dec 2002
Posts: 155
Vogon poet
|
Vogon poet
Joined: Dec 2002
Posts: 155 |
This could be useful, but could also be used for malicious purposes. Just imagine, this could make all those mIRC trojans practically unclosable (without killing the process directly).
|
|
|
|
Joined: Apr 2003
Posts: 210
Fjord artisan
|
Fjord artisan
Joined: Apr 2003
Posts: 210 |
Usually you have to kill the process anyway. I don't know any trojans that display mIRC so the user could simply close it...
It's no hardship to open task manager and kill a process.
|
|
|
|
Joined: Sep 2003
Posts: 9
Nutrimatic drinks dispenser
|
OP
Nutrimatic drinks dispenser
Joined: Sep 2003
Posts: 9 |
for non-malicious scripts the author would put in some button, command, alias, etc that disabled the exit event. in the case of malicious scripts you would just have to turn off remotes before exiting. if /remote was overloaded then theres always the menus. but the longer a gullibility virus is the less people will run it, so i doubt youd see this being used.
|
|
|
|
Joined: Jan 2003
Posts: 3,012
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 3,012 |
'Malicious intent' for a feature idea is getting old. Can we just stop using it as an excuse?
Additions to mIRC that can be seen as "malicous" most likely already exist and already in place. Cases in point: - The ability to run mIRC as a 'service' (or atleast hide it). Creates already use dll's for this, so what does it matter if its intergrated or not--they're still going to do it. - "Don't add /command support". Most likely, a dll created for the same purpose is already in existance, and being used.
Additionly, as saxon mentioned, when is the last time you saw a trojan's mIRC running in your task bar? You don't, thus you wouldn't have the opportunity to properly close it anyways, so what does it matter?
-KingTomato
|
|
|
|
Joined: Sep 2003
Posts: 4,230
Hoopy frood
|
Hoopy frood
Joined: Sep 2003
Posts: 4,230 |
Would be nice, but then halting every other event that does something you dont want would be nice also, I had to writre a workaround to when a window is closed, i renamed the closing one made a new one of the original name and copied the data across to it, then let the close complete, (it closes the renamed one not the new one luckly else i would have had to add a timer to rename it afterwards), But anyway, its not eactly what you want, but you could launch another mirc to replace the one exiting, thats not really gonna solve alot of problems i must admit.
Hey to see something wierd try this.
on *:close:*://echo -s - $?="Hmmm $target window is closing or did it already close?" -
then close down mirc
(just something wierd to laugh about)
|
|
|
|
Joined: Feb 2003
Posts: 810
Hoopy frood
|
Hoopy frood
Joined: Feb 2003
Posts: 810 |
* cold edits his posts 24/7
|
|
|
|
|
|