*sigh* KingTomato, before replying to other people's posts, please get your facts straight. $dllcall does indeed call the dll in its own thread. It says so right in the DLL section of the mIRC help file. I quote:
$dllcall() is multi-threaded so it will not halt the script and will call the specified alias once the call returns.
kthxbye