From WikiChip
Editing mirc/dialogs
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 7: | Line 7: | ||
=== mIRC Dialogs === | === mIRC Dialogs === | ||
− | mIRC dialogs are created by users through custom scripts. Through these dialog interactions, the dialogs adhere to an event listener, the | + | mIRC dialogs are created by users through custom scripts. Through these dialog interactions, the dialogs adhere to an event listener, the [[On dialog - mIRC|ON DIALOG]] event. Through this event, all aspects of the custom dialogs, as well as their controls, can be monitored, tracked, and modified. |
=== Scope === | === Scope === | ||
− | The scope of this article is to generally familiarize users with the term '''dialogs''', and what exactly it is they are used for within mIRC. Since these components are geared towards more advanced scripters, beginners should make sure they have already gone through the preceding tutorials from the | + | The scope of this article is to generally familiarize users with the term '''dialogs''', and what exactly it is they are used for within mIRC. Since these components are geared towards more advanced scripters, beginners should make sure they have already gone through the preceding tutorials from the [[Introduction - mIRC|mIRC Introduction]] page, all the way leading up to '''Dialogs''' |
=== Two types of dialog === | === Two types of dialog === | ||
− | They are two type of dialogs - modal | + | They are two type of dialogs - modeless dialog and modal dialog. |
Modals dialog are dialog which block the current script execution, you cannot access others windows, usually used to get a quick user input. | Modals dialog are dialog which block the current script execution, you cannot access others windows, usually used to get a quick user input. | ||
− | mIRC has built-in modals dialog, {{mIRC|$?}}'s | + | mIRC has built-in modals dialog, {{mIRC|$?}}'s famillies and {{mIRC|$input}} are modals dialogs. |
Modeless dialog can be opened indefinitely and does not halt the script execution. | Modeless dialog can be opened indefinitely and does not halt the script execution. | ||
Line 90: | Line 90: | ||
** notheme - This option prevents mIRC from applying your current windows theme to the dialog - if you like your dialogs to have a retro Windows XP feel to them which is different to how the style used by the rest of mIRC, then this is the option for you. | ** notheme - This option prevents mIRC from applying your current windows theme to the dialog - if you like your dialogs to have a retro Windows XP feel to them which is different to how the style used by the rest of mIRC, then this is the option for you. | ||
** disable - This option can use used to wait a bit before the controls in the dialog can be used, preventing accidents | ** disable - This option can use used to wait a bit before the controls in the dialog can be used, preventing accidents | ||
− | * Others elements are used to create controls, see the | + | * Others elements are used to create controls, see the [[Dialog Components - mIRC|dialog Components page]] |
Remember that once the dialog is created, mIRC does not allow you to resize the controls in the dialog. You can use variable and identifiers inside the dialog table to create dialog control with dynamic size | Remember that once the dialog is created, mIRC does not allow you to resize the controls in the dialog. You can use variable and identifiers inside the dialog table to create dialog control with dynamic size | ||
Line 133: | Line 133: | ||
The {{mIRC|/did}} command can be used to change the various state of the control while {{mIRC|$did}} can be used to retrieve values and states of controls. | The {{mIRC|/did}} command can be used to change the various state of the control while {{mIRC|$did}} can be used to retrieve values and states of controls. | ||
− | Check the | + | Check the [[Dialog Components - mIRC|dialog Components page]], which describe the usage of the two per control. |
=== Others tools === | === Others tools === |