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

(Example)
m (Compatibility: Correct typo)
 
Line 12: Line 12:
 
<source lang="mIRC">ON *:DIALOG:*:init:0: echo -a $dname</source>
 
<source lang="mIRC">ON *:DIALOG:*:init:0: echo -a $dname</source>
  
== Compatbility ==
+
== Compatibility ==
 
{{mIRC compatibility|5.5}}
 
{{mIRC compatibility|5.5}}
  

Latest revision as of 02:00, 24 January 2024

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


Synopsis[edit]

$dname

Parameters[edit]

None

Example[edit]

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

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

Compatibility[edit]

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[edit]

[Expand]
v · d · e mIRC identifier list