https://script.quakenet.org/wiki/index.php?title=$submenu&feed=atom&action=history
$submenu - Revision history
2024-03-28T20:49:05Z
Revision history for this page on the wiki
MediaWiki 1.27.2
https://script.quakenet.org/wiki/index.php?title=$submenu&diff=4848&oldid=prev
Aca20031 at 02:27, 17 May 2008
2008-05-17T02:27:10Z
<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 02:27, 17 May 2008</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l18" >Line 18:</td>
<td colspan="2" class="diff-lineno">Line 18:</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>  }</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>  }</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;"></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;"></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>[[Category:<del class="diffchange diffchange-inline">mIRC </del>Identifiers]]</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>[[Category:Identifiers]]</div></td></tr>
</table>
Aca20031
https://script.quakenet.org/wiki/index.php?title=$submenu&diff=2555&oldid=prev
Aca20031 at 02:26, 17 May 2008
2008-05-17T02:26:21Z
<p></p>
<p><b>New page</b></p><div>This identifier is used for created dynamically generated submenus for mIRC [[Popup Menus]].'<br />
<br />
$submenu($identifier($1))<br />
<br />
When using this as the name of a sub-menu, $identifier will be called with $1 starting as "begin" and then becoming a series of numbers starting at 1 and increasing until nothing is returned, then it is called with $1 being "end."<br />
<br />
See the example below for clarification.<br />
<br />
==Example==<br />
<br />
[[Popup Menus|menu]] nicklist,query { <br />
Channels<br />
.$submenu($allchannels([[$1-|$1]]))<br />
}<br />
[[alias]] -l allchannels {<br />
[[If-Then-Else|if]] ([[$1-|$1]] == begin || [[$1-|$1]] == end) { [[return]] - }<br />
[[If-Then-Else|elseif]] ([[$1-|$1]] isnum 1-) [[return]] [[$comchan]]([[$me]],[[$1-|$1]]) [[DollarPlus|$+]] :[[echo]] -a This is my channel command.<br />
}<br />
<br />
[[Category:mIRC Identifiers]]</div>
Aca20031