mIRC Home    About    Download    Register    News    Help

Print Thread
#74467 08/03/04 06:35 PM
Joined: Mar 2003
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Mar 2003
Posts: 28
Hi!

I have a script that loads a dll with the follow code
Code:
 /dll $mircdir/system/mircustom.dll SetIcon -m 18 %pad $mircdir/system/icons.icl
  /dll $mircdir/system/mircustom.dll SetIcon -a 18 %pad $mircdir/system/icons.icl
  


The mircdir is C:\Program Files\mIRC... when i start mIRC i see the warning \dll C:\Program not found...

\echo $mircdir = C:\Program would mircdir don't work with chr(32)?

greetz

#74468 08/03/04 07:33 PM
Joined: Dec 2002
Posts: 2,962
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 2,962
You just need to add quotes around the path so mIRC knows that it's a single parameter. So $mircdir/system/mircustom.dll becomes $+(", $mircdir/system/mircustom.dll, ")


Spelling mistakes, grammatical errors, and stupid comments are intentional.
#74469 08/03/04 07:39 PM
Joined: Mar 2003
Posts: 28
P
Ameglian cow
OP Offline
Ameglian cow
P
Joined: Mar 2003
Posts: 28
thnx it works!


Link Copied to Clipboard