You should be careful with this, loading a full directory or even just all files matching a simple wildcard like remote*.ini in a directory is potentially dangerous, if a malicious user can get a file matching in that directory you would load that file.
What you were doing originally is much safer, and you can easily reduce the size of the code.
maroon's code with the timer will cause a double evaluation of the parameter, there should be an $unsafe in there, also the $calc(5+) should be used on the timer's delay parameter rather than the N of /load (maybe this was intended but it makes no sense to me).
Also you probably want to /reload instead of /load (and even /unload), /reload just won't trigger on load and on start in the file. I don't think there is a need for -rsN, /reload will keep the same position.
I'd recommend to avoid the $findfile loop and just loop over your list of known files like you had first:
Code:
var %files remote1.ini remote2.ini remoteN.ini,%a 1
while ($gettok(%files,%a,32) != $null) {
.reload -rs $qt(path\to\ $+ $v1)
inc %a
}
just add script files to %files, space seperated


#mircscripting @ irc.swiftirc.net == the best mIRC help channel