From WikiChip
Editing mirc/commands/did
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: | ||
− | |||
The '''/did command''' allows you to modify the values of controls in a dialog. | The '''/did command''' allows you to modify the values of controls in a dialog. | ||
== Synopsis == | == Synopsis == | ||
− | /did - | + | /did -ftebvhnmcukradiogjsl <name> <id> [n] [text | filename | start [end] ] |
+ | |||
== Switches == | == Switches == | ||
Line 15: | Line 15: | ||
* '''-n''' - enables editbox | * '''-n''' - enables editbox | ||
* '''-m''' - disables editbox | * '''-m''' - disables editbox | ||
− | * '''-c''' - check a checkbox/radio/list/combo/ line, can be used to set the | + | * '''-c''' - check a checkbox/radio/list/combo/ line, can be used to set the selection of text in a line, |
− | * '''-u''' - uncheck a checkbox/radio/list/combo line, used with -c, can be used to mark a 3dstate checkbox as indeterminate | + | * '''-u''' - uncheck a checkbox/radio/list/combo line, used with -c, can be used to mark a 3dstate checkbox as indeterminate |
− | * '''-k''' - used with - | + | * '''-k''' - used with -cu, keeps other selections in a listbox |
* '''-s''' - checks the checkbox of an item in a listbox control that uses checkboxes | * '''-s''' - checks the checkbox of an item in a listbox control that uses checkboxes | ||
* '''-l''' - unchecks the checkbox of an item in a listbox control that uses checkboxes | * '''-l''' - unchecks the checkbox of an item in a listbox control that uses checkboxes | ||
* '''-r''' - clears all text in <id> | * '''-r''' - clears all text in <id> | ||
− | * '''-a''' - appends text to the end of a control or | + | * '''-a''' - appends text to the end of a control or a menu |
* '''-d''' - deletes the Nth line in a listbox/combo | * '''-d''' - deletes the Nth line in a listbox/combo | ||
− | * '''-i''' - insert line in a listbox/combo or | + | * '''-i''' - insert line in a listbox/combo or to a menu |
* '''-o''' - overwrite the Nth line in a listbox/combo with text | * '''-o''' - overwrite the Nth line in a listbox/combo with text | ||
* '''-g''' - set a new icon/bmp to an icon control | * '''-g''' - set a new icon/bmp to an icon control | ||
Line 32: | Line 32: | ||
* '''<name>''' - name of the dialog | * '''<name>''' - name of the dialog | ||
* '''<id>''' - id of the controls, you can use the form N-N1,N2-N3 to change multiple ids at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9 | * '''<id>''' - id of the controls, you can use the form N-N1,N2-N3 to change multiple ids at once, 1-5,6,9 would change the following ids: 1,2,3,4,5,6,9 | ||
− | * '''[n]''' - usually a line number, it can also be an id number with menus, use 0 if you want to access the | + | * '''[n]''' - usually a line number, it can also be an id number with menus, use 0 if you want to access the edit of a combo control. |
* '''[text]''' - the text parameter if applicable | * '''[text]''' - the text parameter if applicable | ||
* '''[filename]''' - used with -g | * '''[filename]''' - used with -g | ||
Line 38: | Line 38: | ||
== Example == | == Example == | ||
− | + | None | |
== Compatibility == | == Compatibility == | ||
− | + | Added: 5.5 | |
+ | |||
+ | Added On: 08/01/99 | ||
+ | |||
+ | <small>Note: Individual switches were not taken into consideration.</small> | ||
== See also == | == See also == | ||
* [[List of commands - mIRC|List of commands]] | * [[List of commands - mIRC|List of commands]] | ||
* [[List of identifiers - mIRC|List of identifiers]] | * [[List of identifiers - mIRC|List of identifiers]] | ||
− | * | + | * [[$did identifier - mIRC|$did]] |
− | * | + | * [[$didtok identifier - mIRC|$didtok]] |
− | * | + | * [[$dialog identifier - mIRC|$dialog]] |
− | * | + | * [[$didwm identifier - mIRC|$didwm]] |
− | * | + | * [[$didreg identifier - mIRC|$didreg]] |
− | * | + | * [[/dialog command - mIRC|/dialog]] |
− | |||
− | [[Category:mIRC commands | + | [[Category:mIRC commands]] |