Difference between revisions of "$didtok"

From Scriptwiki
Jump to: navigation, search
 
m (Category)
Line 11: Line 11:
 
  [[tokenize]] 44 $did(mydialog,8,44)
 
  [[tokenize]] 44 $did(mydialog,8,44)
 
  [[If-Then-Else|if]] ($1 == ...) { }
 
  [[If-Then-Else|if]] ($1 == ...) { }
 +
 +
[[Category:Dialog]]

Revision as of 19:24, 10 May 2008

Returns a tokenized list of items in a dialog's list, combo, or editbox.

$didtok(name,id,C)
  • Name is the name of the dialog loaded.
  • ID is the id of the dialog list, combo, or editbox.
  • C is the ascii value of the token separator.
  • Returns: List of items in ID separated by C.

Example

tokenize 44 $did(mydialog,8,44)
if ($1 == ...) { }