mIRC Home    About    Download    Register    News    Help

Topic Options
#223149 - 15/07/10 09:20 PM Load All Command
Muffinator Offline
Nutrimatic drinks dispenser

Registered: 25/06/10
Posts: 7
My suggestion is simple, a command, such as /loadall or /load -all to load all scripts in a certain directory, rather than an individual file. This would make it easier to load groups of downloaded scripts, reload unloaded scripts, etc.

Top
#223150 - 15/07/10 09:41 PM Re: Load All Command [Re: Muffinator]
FroggieDaFrog Online
Hoopy frood

Registered: 16/04/10
Posts: 910
Loc: USA
but then think of the exploits that could be caused from it. :\ The reason mIRC is setup to load ONE script at a time is so that the user knows what is being loaded.
_________________________
I am SReject
My Stuff

Top
#223151 - 15/07/10 09:43 PM Re: Load All Command [Re: Muffinator]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
How is mIRC supposed to know which files are scripts? If it loads all .ini/.mrc files, that could quite easily load settings files (.ini is often used to store settings). If mIRC decided to read from each file to try to determine if it is a script, that would be quite slow to process if there are a lot of scripts in a directory.

I really think this is a case where it should be left up to the scripter:

Code:
alias loadall noop $findfile($1-,*.mrc,0,load -rs $qt($1-))


/loadall <dir>

Top
#223152 - 15/07/10 09:44 PM Re: Load All Command [Re: Muffinator]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3462
Loc: France
Quite impossible, there's no way to say if a file is a script or not.

edit : hixxy beat me


Edited by Wims (15/07/10 09:45 PM)
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#223154 - 15/07/10 10:38 PM Re: Load All Command [Re: Muffinator]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
Although I don't think we necessarily need a command to load multiple scripts, I would like to see the ability to use the Alt-R > File > Load dialog to load multiple files that are selected.
_________________________
Invision Support
#Invision on irc.irchighway.net

Top
#223156 - 15/07/10 10:46 PM Re: Load All Command [Re: Riamus2]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3462
Loc: France
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top