https://en.wikichip.org/w/index.php?title=mirc/identifiers/$didtok&feed=atom&action=history
mirc/identifiers/$didtok - Revision history
2024-03-19T10:34:13Z
Revision history for this page on the wiki
MediaWiki 1.28.1
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$didtok&diff=67110&oldid=prev
Maroonbells at 19:32, 13 November 2017
2017-11-13T19:32:16Z
<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;' lang='en'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 19:32, 13 November 2017</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l27" >Line 27:</td>
<td colspan="2" class="diff-lineno">Line 27:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><source lang="mIRC"></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><source lang="mIRC"></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>/dialog -ma sample1 sample1</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>/dialog -ma sample1 sample1</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>//echo -a The items in the list are $didtok(sample1,987,10004) and the selected item is $did(sample1,987<del class="diffchange diffchange-inline">,10004</del>).seltext</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>//echo -a The items in the list are $didtok(sample1,987,10004) and the selected item is $did(sample1,987).seltext</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   The items in the list are Sunday✔Monday✔Tuesday✔Wednesday✔Thursday✔Friday✔Saturday and the selected item is Monday</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>   The items in the list are Sunday✔Monday✔Tuesday✔Wednesday✔Thursday✔Friday✔Saturday and the selected item is Monday</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></source></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></source></div></td></tr>
<!-- diff cache key wikichip:diff:version:1.11a:oldid:67109:newid:67110 -->
</table>
Maroonbells
https://en.wikichip.org/w/index.php?title=mirc/identifiers/$didtok&diff=67109&oldid=prev
Maroonbells: Create content for identifier
2017-11-13T19:18:19Z
<p>Create content for identifier</p>
<p><b>New page</b></p><div>{{mirc title|$didtok Identifier}}'''$didtok''' returns a tokenized list of the item(s) of a dialog's combo, list, or edit box<br />
== Synopsis ==<br />
<pre>$didtok(name,id,C)</pre><br />
<br />
== Parameters ==<br />
* '''name''' - Name of the dialog. Must be open<br />
* '''id''' - The number of the dialog control<br />
* '''C''' - ASCII value used to separate the returned tokens. 32 is space, 44 is comma, 9 is tab, 46 is period, etc.<br />
== Properties ==<br />
None<br />
<br />
== Example ==<br />
<source lang="mIRC"><br />
dialog sample1 {<br />
size -1 -1 200 200<br />
option dbu<br />
combo 987,10 10 50 10, drop<br />
}<br />
on *:dialog:sample1:init:*:{<br />
var %days Sunday Monday Tuesday Wednesday Thursday Friday Saturday<br />
didtok $dname 987 32 %days<br />
did -c $dname 987 $findtok(%days,$asctime($ctime,dddd),1,32)<br />
}<br />
</source><br />
<br />
<br />
<source lang="mIRC"><br />
/dialog -ma sample1 sample1<br />
//echo -a The items in the list are $didtok(sample1,987,10004) and the selected item is $did(sample1,987,10004).seltext<br />
The items in the list are Sunday✔Monday✔Tuesday✔Wednesday✔Thursday✔Friday✔Saturday and the selected item is Monday<br />
</source><br />
<br />
== Compatibility ==<br />
{{mIRC compatibility|5.7}}<br />
<br />
== See Also ==<br />
{{collist<br />
|count = 4<br />
|style = width: 100%; display: inherit;<br />
|<br />
* {{mIRC|/dialog}}<br />
* {{mIRC|/did}}<br />
* {{mIRC|$did}}<br />
* {{mIRC|/didtok}}<br />
}}<br />
[[Category:mIRC identifiers|$didtok]]</div>
Maroonbells