_Added in 1.9.0_ *$dname* Returns the name of a dialog during a [[on DIALOG]] [[Scripting_Events|event]]. *Example*
on *:DIALOG:*:*:*:{
  echo -ag Name of the dialog matched is $dname
}