mIRC Home    About    Download    Register    News    Help

Print Thread
$findfile infinite loop #264590
18/12/18 04:45 PM
18/12/18 04:45 PM
Joined: Jul 2006
Posts: 3,515
France
W
Wims Offline OP
Planetary brain
Wims  Offline OP
Planetary brain
W

Joined: Jul 2006
Posts: 3,515
France
Quote:
noop $findfile($scriptdir,*.mlvl,0,var -s %input $addtok(%input,$left($nopath($1),-5),44))
this call to $findfile never seems to end for me, there are several matching file in the folder which are correctly displayed by the /var -s command but then it's stuck. This is on 7.53 beta 60


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net
Re: $findfile infinite loop [Re: Wims] #264591
18/12/18 04:56 PM
18/12/18 04:56 PM
Joined: Dec 2015
Posts: 116
Finland
D
Dazuz Offline
Vogon poet
Dazuz  Offline
Vogon poet
D

Joined: Dec 2015
Posts: 116
Finland
Tried to replicate with v7.53.62, but it worked like it should.

I did do one little modification though: changed "$1" into "$1-".

Re: $findfile infinite loop [Re: Dazuz] #264592
18/12/18 05:19 PM
18/12/18 05:19 PM
Joined: Jul 2006
Posts: 3,515
France
W
Wims Offline OP
Planetary brain
Wims  Offline OP
Planetary brain
W

Joined: Jul 2006
Posts: 3,515
France
Looks like a mistake on my part, most likely have a huge folder I wasn't aware of :<


Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net