A tutorial on how to make a DLL for mIRC can be found at http://necroman.wot.net/dllhelp.htm and/or http://www.mircscripter.com/mirc_dll.html