From WikiChip
Difference between revisions of "mirc/commands/didtok"
< mirc‎ | commands

(Synopsis)
(Example)
Line 16: Line 16:
 
<syntaxhighlight lang="mIRC">;put in remote:
 
<syntaxhighlight lang="mIRC">;put in remote:
 
dialog colors {
 
dialog colors {
size -1 -1 100 200
+
  size -1 -1 100 200
list 1, 10 10 80 180
+
  list 1, 10 10 80 180
 
}
 
}
 +
 
;then execute in mIRC:
 
;then execute in mIRC:
 
//dialog -m colors colors | didtok colors 1 32 red blue orange yellow</syntaxhighlight>
 
//dialog -m colors colors | didtok colors 1 32 red blue orange yellow</syntaxhighlight>
 +
 
Add the following list of colors to the list in the dialog
 
Add the following list of colors to the list in the dialog
  

Revision as of 21:39, 2 December 2013

The /didtok command adds the tokenized list to the specified control.

Synopsis

/didtok <name> <id> <C> <text>

Switches

None

Parameters

  • <name> - the name of the dialog
  • <id> - the id of the control
  • <C> - the code point of the character used as a delimiter in your list
  • <text> - the list of token to be displayed

Example

;put in remote:
dialog colors {
  size -1 -1 100 200
  list 1, 10 10 80 180
}
 
;then execute in mIRC:
//dialog -m colors colors | didtok colors 1 32 red blue orange yellow

Add the following list of colors to the list in the dialog

Compatibility

Added: 5.7

Added On: 02/02/2000

Note: Individual switches were not taken into consideration.

See also