Not really sure exactly how comcall works. What I'm currently doing is have an alias like so:
Code:
alias update SysStatsDialog {
  ;locator and services are opened when dialog opens so no need to open them again

  noop $com(SR.SS.Services, Get, 3, String, SELECT LoadPercentage FROM Win32_Process Where DeviceID = "CPU0",dispatch* SR.SS.CPU)
  if ($com(SR.SS.CPU)) {
    /changedialogIDto: $comval(SR.SS.CPU, 1, LoadPercentage)
  }
}

as the $comval() retrieves the info, mIRC freezes. I'd like to use $comcall instead with a callback, so mIRC wouldn't freeze :\