It would be great if mIRC supported $(...) in the dialog ID section of dialog events.

To illustrate what I mean:

Code:
alias -l id_ok { return 1 }

dialog test {
  title ""
  size -1 -1 300 300
  option dbu
  button "ok", $id_ok, 125 125 50 50, ok
}

on *:dialog:test:sclick:$($id_ok):{ ; this doesn't work, would be great if it did. }

on *:dialog:test:sclick:*:{
  if ($did == $id_ok) { ; this does work. }
}