mIRC Home    About    Download    Register    News    Help

Print Thread
highest number #78323 07/04/04 03:15 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
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


Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
Re: highest number #78324 07/04/04 05:23 AM
Joined: Mar 2003
Posts: 1,271
L
LocutusofBorg Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
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.


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
Re: highest number #78325 07/04/04 05:37 AM
Joined: Apr 2003
Posts: 300
A
andymps Offline OP
Fjord artisan
OP Offline
Fjord artisan
A
Joined: Apr 2003
Posts: 300
not possible..... they are produced by another program and are used by 2 other programs aswell as this script i need to make..


Liek OMG Yuo Stoleded my MageHurtzzzz!!!11
Re: highest number #78326 07/04/04 03:04 PM
Joined: Dec 2002
Posts: 124
B
bloupx Offline
Vogon poet
Offline
Vogon poet
B
Joined: Dec 2002
Posts: 124
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.