Hi!

Just a remind: mIRC script is an interpreted language and dlls are compiled binaries usually in C, C++ or VB.
I never saw a "mIRC script to C++ converter" or something similar, so the best way is to start from scratch and compile your own program.