Didtok

From Scriptwiki
Jump to: navigation, search

This command is used to add a tokenized list of items to a dialog list, combo or edit box in the order in which they are listed.

/didtok <dialog name> <dialog id> <token seperator> <list>
  • Dialog name is the name of the dialog in which the list resides. This must be a loaded dialog.
  • Dialog ID is the ID of the list combo or edit box to add the items too.
  • Token Separator is the ASCII value of the token separating the items in the list.
  • List is the list, as a string.

Example

didtok mydialog 4 46 Item 1.Item 2.Item 3.Item 4

Here 4 is the ID of a list box, and 46 is $asc(.)

See Also

Token Identifiers Dialogs