mIRC Homepage
Posted By: Powerkiting $mircdir - 08/03/04 06:35 PM
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
Posted By: starbucks_mafia Re: $mircdir - 08/03/04 07:33 PM
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, ")
Posted By: Powerkiting Re: $mircdir - 08/03/04 07:39 PM
thnx it works!
© mIRC Discussion Forums