From WikiChip
Difference between revisions of "mirc/identifiers/$dname"
< mirc‎ | identifiers

m (bot: correcting title)
m
Line 1: Line 1:
 
{{mirc title|$dname Identifier}}The '''$dname''' identifier is used within an [[On dialog - mIRC|ON DIALOG]] event to get the name of the dialog that triggered the event.
 
{{mirc title|$dname Identifier}}The '''$dname''' identifier is used within an [[On dialog - mIRC|ON DIALOG]] event to get the name of the dialog that triggered the event.
 +
  
 
== Synopsis ==
 
== Synopsis ==
Line 26: Line 27:
 
{{mIRC identifier list}}
 
{{mIRC identifier list}}
  
[[Category:MIRC identifiers]]
+
[[Category:mIRC identifiers|dname]]

Revision as of 15:00, 20 September 2017

The $dname identifier is used within an ON DIALOG event to get the name of the dialog that triggered the event.


Synopsis

$dname

Parameters

None

Example

When any dialog opens, echo the name of the dialog to the active window:

ON *DIALOG:*:init:0:echo -a $dname

Compatbility

Added: mIRC v5.5
Added on: 08 Jan 1999
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.


See Also

[Expand]
v · d · e mIRC identifier list