using $findfile to add MP3's to a list....
alias mp3list {
$findfile(%lastemp3dir,*.mp3,0, did -az lilmp3 500 $left($nopath($1-),-4))
}
upon opening of the dialog, the above alias is performed...
on *:DIALOG:lilmp3:init:0: {
mp3list
}
The list will populate correctly.
I then get an error, of which I cant seem to find any documentation.
If not connected to a server: * /1076: not connected to server (line 148, curmp3menu.mrc)
-
line 148 being the $findfile...... line of the alias
If connected to a server: 1076 Unknown command
running debug:
-> nameless.uicn.net 1076
<- :nameless.uicn.net 421 JimShortz 1076 :Unknown command
The 1076 appears to be the number of files in the directory I am looking for files in.
I am stumped as to why mIRC is sending out that number as a command, when it completes the scan.
Any input is greatly appreciated.
Also, on a somewhat related note, is there any way to speed up the $findfile.... search when using large directories ?