mIRC Homepage
Posted By: Muffinator Load All Command - 15/07/10 08:20 PM
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.
Posted By: FroggieDaFrog Re: Load All Command - 15/07/10 08:41 PM
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.
Posted By: hixxy Re: Load All Command - 15/07/10 08:43 PM
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>
Posted By: Wims Re: Load All Command - 15/07/10 08:44 PM
Quite impossible, there's no way to say if a file is a script or not.

edit : hixxy beat me
Posted By: Riamus2 Re: Load All Command - 15/07/10 09:38 PM
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.
Posted By: Wims Re: Load All Command - 15/07/10 09:46 PM
Check https://forums.mirc.com/ubbthreads.php?ubb=showflat&Number=222286&page=1#Post222286 wink
© mIRC Discussion Forums