mIRC Homepage
Posted By: Syperus ktools dll - 13/10/03 03:19 AM
for some reason im having problems loading the ktools dll on start i don't know what teh problem is cause ive used this alias all the time..now all the sudden when i create a new script it doesn't work... this is the error i receive:
* /dll: unable to open 'C:\HH' (line 37, alias.ini)

line 37 is this:
alias ktools { dll $findfile($mircdirdll,ktools.dll,1) $1- }

I don't know what the problem is..i tried everything..any ideas? thanks
Posted By: Online Re: ktools dll - 13/10/03 03:58 AM
When the file name contains spaces, it must be encosed within quotes when passed to a /command (not needed with $identifiers though).
  • alias ktools { dll $+(",$findfile($mircdirdll,ktools.dll,1),") $1- }
Note that using $findfile in each function call can be incredibly slow, it's much better to call a fixed file name.
Posted By: Syperus Re: ktools dll - 13/10/03 04:14 AM
Yea i realized that it was the directory name after taking a break from freakin out lol...I fixed it using $shortfn() but thnx for the info on the quotes smile didn't know bout that
© mIRC Discussion Forums