mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2006
Posts: 4,150
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
Just execute
Code:
//echo -a $finddir($mircdir,*,0,0,echo -a $finddirn : $1-)
reports this for me on the 7.51 beta:
Quote:

1 : C:\mIRC\whatever1
2 : C:\mIRC\whatever2
...
14 : C:\mIRC\whateverN
14
6.35 behaves the same though.

Edit: $findfile also has the problem, and it is related to $finddirn or $findfilen, if not used, the problem does not occur.

Last edited by Wims; 18/10/17 12:47 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Joined: Apr 2004
Posts: 871
Sat Offline
Hoopy frood
Offline
Hoopy frood
Joined: Apr 2004
Posts: 871
What extra empty item? ..you're not talking about what is printed by the outer //echo -a, are you?


Saturn, QuakeNet staff
Joined: Jul 2006
Posts: 4,150
W
Wims Offline OP
Hoopy frood
OP Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,150
Bah, I am.
This was even mentioned on irc and I said 'yeah the last echo is normal'. I was really thinking I had an extra item, something like this
Quote:
1 : filename
...
N : filename
N :
N
with an extra line, but no.


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

Link Copied to Clipboard