mIRC Home    About    Download    Register    News    Help

Print Thread
#54112 13/10/03 03:19 AM
Joined: Feb 2003
Posts: 31
S
Syperus Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 31
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

#54113 13/10/03 03:58 AM
Joined: Dec 2002
Posts: 1,922
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,922
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.

#54114 13/10/03 04:14 AM
Joined: Feb 2003
Posts: 31
S
Syperus Offline OP
Ameglian cow
OP Offline
Ameglian cow
S
Joined: Feb 2003
Posts: 31
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


Link Copied to Clipboard