mIRC Homepage
Posted By: andymps highest number - 07/04/04 03:15 AM
ok i have a bunch of files..... txt1.txt txt2.txt etc up to 1000+ i need it to, when it says loading map in the channel.... find the highest numbered txt file and read from it.... any ideas? i is lost confused
Posted By: LocutusofBorg Re: highest number - 07/04/04 05:23 AM
If I were you I'd start looking for alternate ways to do whatever it is you wanna do. mIRC wasn't designed to macro-manage 1000+ files. I'm sure it can be done, but the costs for your system are terrible.
Posted By: andymps Re: highest number - 07/04/04 05:37 AM
not possible..... they are produced by another program and are used by 2 other programs aswell as this script i need to make..
Posted By: bloupx Re: highest number - 07/04/04 03:04 PM
findhigh {
if ($isid) {
window -hs @high
$findfile(C:\,txt*.txt,0,aline @high $1-)
var %d = $line(@high,$line(@high,0))
window -c @high
return %d
}
}
;;this is probably slow, but it's a start.
© mIRC Discussion Forums