I have been looking at various straight forward ways to get at the pid, through COM, command line, powershell, vbscript etc, but no go.
There's an inbuild windows function called
GetCurrentProcessId(), but I can't get to it through mIRC's `/dll` command...
Unless there's a $mircpid identifier, this will have to do...
Thanks again!