From WikiChip
Editing mirc/identifiers/$dialog

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

This page supports semantic in-text annotations (e.g. "[[Is specified as::World Heritage Site]]") to build structured and queryable content provided by Semantic MediaWiki. For a comprehensive description on how to use annotations or the #ask parser function, please have a look at the getting started, in-text annotation, or inline queries help pages.

Latest revision Your text
Line 1: Line 1:
{{mirc title|$dialog Identifier}}
 
 
The '''$dialog()''' identifier can be used in one of two ways:
 
The '''$dialog()''' identifier can be used in one of two ways:
  
 
# To create a modal dialog
 
# To create a modal dialog
# To be used as an identifier in order to get properties for a specific [[Dialogs - mIRC|dialog window]].
+
# To be used as an identifier in order to get properties for a specific dialog window
 
 
  
 
== Modal vs Modeless ==
 
== Modal vs Modeless ==
Line 12: Line 10:
 
# <span style="color: #BA0000;">The dialog returns a value</span>
 
# <span style="color: #BA0000;">The dialog returns a value</span>
  
Modal dialogs are different from modeless dialogs for a variety of reasons, but the most important ones are:
+
Modal dialogs are different among modeless dialogs for a variety of reasons, but the most important ones are:
  
 
# They don't allow users to do anything else in mIRC until their conditions are met.
 
# They don't allow users to do anything else in mIRC until their conditions are met.
Line 19: Line 17:
  
 
Modal dialogs should never be used unless absolutely necessary; they are mainly for critical user input. While modeless dialogs can be executed and navigated away from, or even minimized, it should be noted that modal dialogs do not have these abilities.
 
Modal dialogs should never be used unless absolutely necessary; they are mainly for critical user input. While modeless dialogs can be executed and navigated away from, or even minimized, it should be noted that modal dialogs do not have these abilities.
 +
  
 
==Creating A Modal Dialog==
 
==Creating A Modal Dialog==
Line 37: Line 36:
  
 
'''Note:''' ''This type of dialog cannot be called from a remote script event.''
 
'''Note:''' ''This type of dialog cannot be called from a remote script event.''
 +
  
 
==Use As An Identifier==
 
==Use As An Identifier==
 
'''$dialog()''', in use as an identifier, can be used to get information regarding any dialog you specify, and its properties. To get the properties of a dialog you specify, you simply append a period after ''$dialog()'' and the property name, such as ''$dialog(mydialog).title'' to get the title of the dialog named ''mydialog''. Don't worry, this is all explained further below.
 
'''$dialog()''', in use as an identifier, can be used to get information regarding any dialog you specify, and its properties. To get the properties of a dialog you specify, you simply append a period after ''$dialog()'' and the property name, such as ''$dialog(mydialog).title'' to get the title of the dialog named ''mydialog''. Don't worry, this is all explained further below.
 +
  
 
===Synopsis===
 
===Synopsis===
Line 47: Line 48:
 
: '''N''' - If you want to reference a dialog by it's ID number, you would specify the ID number here. If you specify 0, mIRC will return the number of currently open dialogs.
 
: '''N''' - If you want to reference a dialog by it's ID number, you would specify the ID number here. If you specify 0, mIRC will return the number of currently open dialogs.
 
: '''Property''' - Here is where you would specify the property that you want to retrieve about a specific dialog.
 
: '''Property''' - Here is where you would specify the property that you want to retrieve about a specific dialog.
 +
  
 
===List of Properties===
 
===List of Properties===
Line 78: Line 80:
 
|}
 
|}
  
== See also ==
+
''More coming''
* [[List of commands - mIRC|List of commands]]
 
* [[List of identifiers - mIRC|List of identifiers]]
 
* {{mIRC|$dname}}
 
* {{mIRC|$devent}}
 
* {{mIRC|$did}}
 
* {{mIRC|$didwm}}
 
* {{mIRC|$didreg}}
 
* {{mIRC|$didtok}}
 
* {{mIRC|/dialog}}
 
* {{mIRC|/did}}
 
* {{mIRC|/didtok}}
 
{{mIRC identifier list}}
 
 
 
[[Category:mIRC identifiers|dialog]]
 

Please note that all contributions to WikiChip may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see WikiChip:Copyrights for details). Do not submit copyrighted work without permission!

Cancel | Editing help (opens in new window)