on 1:start: { chizeck }
alias chizeck {
var %dllsdir = $finddir($mircdir,dlls,1)
;var %dllsdir = $finddir($scriptdir,dlls,1)
;if directory dlls is in or under $scriptdir
var %dllstocheckfor = hi.dll cow.dll mouse.dll milk.dll
if ($isdir(%dllsdir)) {
var %i = 1
var %howmanydllfilesareinthisdirectory = $findfile(%dllsdir,*.dll,0)
while (%i <= %howmanydllfilesareinthisdirectory) {
var %currentdll = $nopath($findfile(%dllsdir,*.dll,%i))
if (%currentdll isin %dllstocheckfor) { echo -ag %currentdll is in %dllstocheckfor }
inc %i
}
}
}