In the help document under $finddir it says the following:
Code
$finddir($mircdir,logs*,1)  returns the first directory name beginning with "mirc"
As you can see, it says beginning with "mirc" however it is searching for logs*