If you looked closely at the code, you would notice that $msdate already returns a duration, so you should not use $duration($proguptime(apache.exe,1)) but just $proguptime(apache.exe).

To find out the exact name of the process, press ctrl+alt+del and go look in the Task Manager.


If you don't get any results, then it means either:

* You are not using this code on mIRC 6.16
* You are not using this code on an OS that is atleast Win2k professional.
* The process apache.exe is simply not running.
* You didn't copy the code properly from the message board to the scripts editor.
* Windows Scripting has been disabled on your computer (fex by an AVG like Norton), which means you cannot use any code with COM.



Gone.