Well, yeah it makes sense it's the exe's directory and that means existing dlls could break if you change the CWD.
mIRC allows you to evaluate identifier from the dll so just grab $mircdir's value with that smile


#mircscripting @ irc.swiftirc.net == the best mIRC help channel