You could try out game_tools.dll to query for an acurate $ticks to <1ms instead of the 10ms+ acuracy (OS dependent) of mIRC to get it acurate to s.mmmmm.