mIRC Home    About    Download    Register    News    Help

Print Thread
#230517 13/03/11 03:48 AM
Joined: Dec 2010
Posts: 11
Z
Ztjuh Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Dec 2010
Posts: 11
//echo 1 $findfile($mircdir,*.*,0,echo $1-) returns a number instead of all the files in $mircdir.

Cheers smile

Last edited by Ztjuh; 13/03/11 03:49 AM.
Ztjuh #230518 13/03/11 03:54 AM
Joined: Jul 2006
Posts: 4,149
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,149
It is expected, the help file should just details that, as it does for most of others identifiers if not all, if N is 0, it returns the numbers of files that matched the expression, same for $finddir

Last edited by Wims; 13/03/11 03:55 AM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #230519 13/03/11 04:07 AM
Joined: Dec 2010
Posts: 11
Z
Ztjuh Offline OP
Pikka bird
OP Offline
Pikka bird
Z
Joined: Dec 2010
Posts: 11
Ahh thanks smile


Link Copied to Clipboard