Hi

What I have is a script with a lot of addons.
And a lot of those addons have dlls.
Now i'm working on having those addons use 1 dll.
Most addons use aliases to in the script for the location of the dll.
Now I have this script and I don't know how to change the alias into an alias so it will read the dll from the location I put the dlls in.
The alias look like this:
Code:
 alias -l snldir { $iif($1,return $+($shortfn($scriptdir),$1),return $dirv($shortfn($scriptdir))) }
alias -l skndir { $iif($1,return $snldir($+(skins\,$1)),return $dirv($snldir(skins\))) }
alias -l tmpdir { $iif($1,return $snldir($+(temp\,$1)),return $dirv($snldir(temp\))) }
alias -l dlldir { $iif($1,return $snldir($+(dlls\,$1)),return $dirv($snldir(dlls\))) }
alias -l lstdir { $iif($1,return $snldir($+(lists\,$1)),return $dirv($snldir(lists\))) }
alias -l imgdir { $iif($1,return $snldir($+(images\,$1)),return $dirv($snldir(images\))) }
 


Now I made a folder and named it dll.
This folder is located in the same folder that mirc.exe is in.
In case of the dll my guess wat I needed to change $snldir into $mircdir.
But this return a error.
/dll: unable to open 'C:\Tester\($+(dll\,$1))' (line 55, snl.mrc)
please help.