<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=SimpleGather</id>
	<title>SimpleGather - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://script.quakenet.org/wiki/index.php?action=history&amp;feed=atom&amp;title=SimpleGather"/>
	<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;action=history"/>
	<updated>2026-06-04T00:30:44Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=4526&amp;oldid=prev</id>
		<title>Vliedel: added $( ) around $gatherchannel</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=4526&amp;oldid=prev"/>
		<updated>2007-07-20T11:21:13Z</updated>

		<summary type="html">&lt;p&gt;added $( ) around $gatherchannel&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:21, 20 July 2007&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l44&quot;&gt;Line 44:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 44:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !start&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !start&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Starts a gather. Only a channel op can start a gather.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Starts a gather. Only a channel op can start a gather.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!start:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!start:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to start a gather. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to start a gather. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l57&quot;&gt;Line 57:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 57:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !stop&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !stop&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Stops a gather. Only a channel op can stop a gather.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Stops a gather. Only a channel op can stop a gather.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!stop:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!stop:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to stop a gather. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to stop a gather. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l70&quot;&gt;Line 70:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 70:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !add&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !add&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Adds a player to a running gather. Everyone can enter, but never more than 10 players.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Adds a player to a running gather. Everyone can enter, but never more than 10 players.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!add:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!add:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    ;; if there&amp;#039;s no gathering going on, we can hardly add the player&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    ;; if there&amp;#039;s no gathering going on, we can hardly add the player&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l111&quot;&gt;Line 111:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 111:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !remove&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !remove&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Removes a player from a running gather. Everyone can remove themselves.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Removes a player from a running gather. Everyone can remove themselves.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!remove:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!remove:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    ;; if there&amp;#039;s no gathering going on, we can hardly remove the player&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    ;; if there&amp;#039;s no gathering going on, we can hardly remove the player&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l125&quot;&gt;Line 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !remove &amp;lt;player&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !remove &amp;lt;player&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Removes a player from a running gather. Only a channel op can remove another player.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Removes a player from a running gather. Only a channel op can remove another player.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!remove &amp;amp;:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!remove &amp;amp;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to remove another player. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to remove another player. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l141&quot;&gt;Line 141:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 141:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !players&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !players&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Shows the current players in a running gather. Only channel operators can use this trigger&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Shows the current players in a running gather. Only channel operators can use this trigger&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!players:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!players:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to dump the playerlist. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to dump the playerlist. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l159&quot;&gt;Line 159:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 159:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !numplayers&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !numplayers&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Sets the amount of players.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Sets the amount of players.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!numplayers &amp;amp;:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!numplayers &amp;amp;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    ;; first arg has to be a number&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    ;; first arg has to be a number&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($2 !isnum 1-) { .notice $nick Wrong usage of trigger. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($2 !isnum 1-) { .notice $nick Wrong usage of trigger. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l193&quot;&gt;Line 193:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 193:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !gatherchan&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !gatherchan&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Changes gather channel to a new one&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Changes gather channel to a new one&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!gatherchan &amp;amp;:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!gatherchan &amp;amp;:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick Only a channel operator on both old and new channel can change the channel. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick Only a channel operator on both old and new channel can change the channel. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($hget($htname)) { .notice $nick Cannot change gather channel while a gather is running. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($hget($htname)) { .notice $nick Cannot change gather channel while a gather is running. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l206&quot;&gt;Line 206:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 206:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !serverinfo&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; !serverinfo&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Changes the server info. Only a channel operator can use this.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;; Changes the server info. Only a channel operator can use this.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!serverinfo *:$gatherchannel:{&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:TEXT:!serverinfo *:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to change the server info | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick !isop #) { .notice $nick You are not allowed to change the server info | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($hget($htname)) { .notice $nick Server info cannot be changed during a gather. | return }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($hget($htname)) { .notice $nick Server info cannot be changed during a gather. | return }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l217&quot;&gt;Line 217:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 217:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;;;;; When the bot quits or is disconnected the gather is terminated.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;;;;; When the bot quits or is disconnected the gather is terminated.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;;;;; When a user changes his nick it&amp;#039;s automatically updated&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  ;;;;; When a user changes his nick it&amp;#039;s automatically updated&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:KICK:$gatherchannel:{ if ($hget($htname,$knick)) { hdel $htname $knick } }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:KICK:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{ if ($hget($htname,$knick)) { hdel $htname $knick } }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:PART:$gatherchannel:{ if ($hget($htname,$nick)) { hdel $htname $nick } }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;&quot;&gt;&lt;div&gt;  on *:PART:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;$(&lt;/ins&gt;$gatherchannel&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;)&lt;/ins&gt;:{ if ($hget($htname,$nick)) { hdel $htname $nick } }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  on *:QUIT: {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  on *:QUIT: {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick == $me) &amp;amp;&amp;amp; ($hget($htname)) { hfree $htname }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    if ($nick == $me) &amp;amp;&amp;amp; ($hget($htname)) { hfree $htname }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Vliedel</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=2305&amp;oldid=prev</id>
		<title>Vliedel: fixed damn spaces</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=2305&amp;oldid=prev"/>
		<updated>2007-07-16T23:06:39Z</updated>

		<summary type="html">&lt;p&gt;fixed damn spaces&lt;/p&gt;
&lt;a href=&quot;https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;amp;diff=2305&amp;amp;oldid=2303&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Vliedel</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=2303&amp;oldid=prev</id>
		<title>Vliedel: fixed readability + small bugs, not tested yet</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=2303&amp;oldid=prev"/>
		<updated>2007-07-16T23:04:21Z</updated>

		<summary type="html">&lt;p&gt;fixed readability + small bugs, not tested yet&lt;/p&gt;
&lt;a href=&quot;https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;amp;diff=2303&amp;amp;oldid=2302&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Vliedel</name></author>
	</entry>
	<entry>
		<id>https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=2302&amp;oldid=prev</id>
		<title>Shenghi: Simple gather script</title>
		<link rel="alternate" type="text/html" href="https://script.quakenet.org/wiki/index.php?title=SimpleGather&amp;diff=2302&amp;oldid=prev"/>
		<updated>2007-07-10T11:22:52Z</updated>

		<summary type="html">&lt;p&gt;Simple gather script&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;SimpleGather is a fairly basic gather script mainly created because so many beginners are trying to make one, while even a very basic gather script is not that simple. The aim of SimpleGather is simplicity: it can run only one gather at a time, works only on a single channel, and multiple servers is out of the question. Setting it up is easy:&lt;br /&gt;
* Copy and paste the script into a new script file, load it and make sure you run the initialization commands;&lt;br /&gt;
* Go to the variables tab in the script editor;&lt;br /&gt;
* Change &amp;quot;%gatherchannel-1172-df51-b4b6-313e-20070710100156&amp;quot; to your gather channel;&lt;br /&gt;
* Change &amp;quot;%gatherplayercount-e7ab-d273-a5f9-6ae2-20070710094110&amp;quot; to the amount of players (defaults to 10);&lt;br /&gt;
* Change &amp;quot;%serverinfo-da91-c1fb-b6c7-8f8b-20070710105309&amp;quot; to your server IP/Port.&lt;br /&gt;
&lt;br /&gt;
== The triggers ==&lt;br /&gt;
* !start - Starts a new gather. Only available to channel ops.&lt;br /&gt;
* !stop - Stops an ongoing gather. Only available to channel ops.&lt;br /&gt;
* !add - Adds the typer to the gather. Available to everyone.&lt;br /&gt;
* !remove - Removes the typer from the gather. Available to everyone.&lt;br /&gt;
* !remove &amp;lt;nick&amp;gt; - Removes the specified player from the gather. Only available to channel ops.&lt;br /&gt;
* !numplayers &amp;lt;num&amp;gt; - Sets the amount of participating players to &amp;lt;num&amp;gt;. If a gather is already past this amount then it will be flagged as full right away. Only available to channel ops.&lt;br /&gt;
* !gatherchan &amp;lt;chan&amp;gt; - Sets the gatherchan to &amp;lt;chan&amp;gt;. Cannot be used while gathering is in progress. Only available to channel ops on both the current and the new channel.&lt;br /&gt;
* !serverinfo &amp;lt;info&amp;gt; - Sets the server information to &amp;lt;info&amp;gt;. Cannot be used while gathering is in progress. Only available to channel ops.&lt;br /&gt;
&lt;br /&gt;
== The code ==&lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; &lt;br /&gt;
 ;;  SimpleGather 1.0 by Shenghi &lt;br /&gt;
 ;;  #help.script @ irc.quakenet.org &lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; &lt;br /&gt;
  &lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;; PRIVATE ALIASES ;;;;;;;;;;;;;;;;;;;; &lt;br /&gt;
  &lt;br /&gt;
 ;; Return hash table name. Crazy name to prevent interferance with other scripts &lt;br /&gt;
 alias -l htname !return htGather-e064-e6ac-679f-c8b3-20070710073819 &lt;br /&gt;
  &lt;br /&gt;
 ;; Return gather channel name. &lt;br /&gt;
 alias -l gatherchannel !return %gatherchannel-1172-df51-b4b6-313e-20070710100156 &lt;br /&gt;
  &lt;br /&gt;
 alias -l maxplayers !return %gatherplayercount-e7ab-d273-a5f9-6ae2-20070710094110 &lt;br /&gt;
  &lt;br /&gt;
 alias -l serverinfo !return %serverinfo-da91-c1fb-b6c7-8f8b-20070710105309 &lt;br /&gt;
  &lt;br /&gt;
 alias -l resetgather {  &lt;br /&gt;
   .timer 1 30 if ($!hget($!htname)) !hfree $htname  &lt;br /&gt;
   .timer 1 31 msg $!gatherchannel A new gather can be started now. &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
 ;;;;;;;;;;;;;;;;;;;; TRIGGERS ;;;;;;;;;;;;;;;;;;;; &lt;br /&gt;
  &lt;br /&gt;
 ;; !start &lt;br /&gt;
 ;; Starts a gather. Only a channel op can start a gather. &lt;br /&gt;
 on *:TEXT:!start:%gatherchannel-1172-df51-b4b6-313e-20070710100156: { &lt;br /&gt;
   if ($nick !isop #) { .notice $nick You are not allowed to start a gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; check to see if we are already gathering (the hashtable will exist if we are) &lt;br /&gt;
   if ($hget($htname)) { .notice $nick A gather is already going on. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if we get here, start the gather. &lt;br /&gt;
   !hmake $htname &lt;br /&gt;
   msg # Starting a gather with $maxplayers players. Type !add to add yourself to the list of players or !remove to quit. &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;; !stop &lt;br /&gt;
 ;; Stops a gather. Only a channel op can stop a gather. &lt;br /&gt;
 on *:TEXT:!stop:%gatherchannel-1172-df51-b4b6-313e-20070710100156: { &lt;br /&gt;
   if ($nick !isop #) { .notice $nick You are not allowed to stop a gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; check to see if there is a gather we can stop &lt;br /&gt;
   if (!$hget($htname)) { .notice $nick There is currently no gather going on. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if we get here we have to stop what&amp;#039;s going on! &lt;br /&gt;
   !hfree $htname &lt;br /&gt;
   msg # Gather stopped. Type !start to start a new gather. &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;; !add &lt;br /&gt;
 ;; Adds a player to a running gather. Everyone can enter, but never more than 10 players. &lt;br /&gt;
 on *:TEXT:!add:%gatherchannel-1172-df51-b4b6-313e-20070710100156: { &lt;br /&gt;
   ;; if there&amp;#039;s no gathering going on, we can hardly add the player &lt;br /&gt;
   if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; up to 10 players can add themselves, never more. &lt;br /&gt;
   if ($hget($htname,0).item == $maxplayers) { .notice $nick This gather is already full. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if the player is already part of the gather, there&amp;#039;s no point in adding them again. &lt;br /&gt;
   if ($hget($htname,$nick)) { .notice $nick You are already taking part in this gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; clones can&amp;#039;t join... &lt;br /&gt;
   ;;if ($hfind($htname,$gettok($fulladdress,2,33)).data) { .notice $nick Clones are not allowed to join a gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if we get here, add the player &lt;br /&gt;
   !hadd $htname $nick $gettok($fulladdress,2,33) &lt;br /&gt;
   .notice $nick You have been added to the gather. &lt;br /&gt;
  &lt;br /&gt;
   ;; if the player who just joined was the 10th we end the gathering &lt;br /&gt;
   ;; and notify the players of the information &lt;br /&gt;
   if ($hget($htname,0).item == $maxplayers) { &lt;br /&gt;
     .disable #numplayers-afeb-6ac1-6b3a-7606-20070710103913 &lt;br /&gt;
     msg # Gather full. If you joined this gather, please do not change your name until you received server information. &lt;br /&gt;
     msg # Please wait until teams are generated and information is sent to players. &lt;br /&gt;
  &lt;br /&gt;
     var %i = $maxplayers, %teamA, %teamB &lt;br /&gt;
     while %i {  &lt;br /&gt;
       if (($rand(0,1)) &amp;amp;&amp;amp; ($numtok(%teamA,44) &amp;lt; $calc($maxplayers / 2))) || ($numtok(%teamB,44) &amp;gt;= $calc($maxplayers / 2)) %teamA = $addtok(%teamA,$chr(32) $+ $hget($htname,%i).item,44) &lt;br /&gt;
       else %teamB = $addtok(%teamB,$chr(32) $+ $hget($htname,%i).item,44) &lt;br /&gt;
       dec %i &lt;br /&gt;
     } &lt;br /&gt;
     msg # Team A: %teamA &lt;br /&gt;
     msg # Team B: %teamB &lt;br /&gt;
     .raw PRIVMSG $remove(%teamA,$chr(32)) :Team: A &amp;gt; %teamA -- Server: $serverinfo &lt;br /&gt;
     .raw PRIVMSG $remove(%teamB,$chr(32)) :Team: B &amp;gt; %teamB -- Server: $serverinfo &lt;br /&gt;
     .enable #numplayers-afeb-6ac1-6b3a-7606-20070710103913 &lt;br /&gt;
     resetgather &lt;br /&gt;
   } &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;; !remove &lt;br /&gt;
 ;; Removes a player from a running gather. Everyone can remove themselves. &lt;br /&gt;
 on *:TEXT:!remove:%gatherchannel-1172-df51-b4b6-313e-20070710100156:{ &lt;br /&gt;
   ;; if there&amp;#039;s no gathering going on, we can hardly remove the player &lt;br /&gt;
   if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if the player was no part of this gather, we can&amp;#039;t remove him either &lt;br /&gt;
   if (!$hget($htname,$nick)) { .notice $nick You are not taking part in this gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if we get here, remove the player from the gather &lt;br /&gt;
   !hdel $htname $nick &lt;br /&gt;
   .notice $nick You have been removed from the gather. &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;; !remove &amp;lt;player&amp;gt; &lt;br /&gt;
 ;; Removes a player from a running gather. Only a channel op can remove another player. &lt;br /&gt;
 on *:TEXT:!remove &amp;amp;:%gatherchannel-1172-df51-b4b6-313e-20070710100156:{ &lt;br /&gt;
   if ($nick !isop #) { .notice $nick You are not allowed to remove another player. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if there&amp;#039;s no gathering going on, we can hardly remove the player &lt;br /&gt;
   if (!$hget($htname)) { .notice $nick There is no gather going on at the moment. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if the player was no part of this gather, we can&amp;#039;t remove him either &lt;br /&gt;
   if (!$hget($htname,$2)) { .notice $nick That player is not taking part in this gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if we get here, remove the player from the gather &lt;br /&gt;
   !hdel $htname $2 &lt;br /&gt;
   .notice $nick $2 has been removed from the gather. &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;; !players &lt;br /&gt;
 ;; Shows the current players in a running gather. Only channel operators can use this trigger &lt;br /&gt;
 on *:TEXT:!players:%gatherchannel-1172-df51-b4b6-313e-20070710100156:{ &lt;br /&gt;
   if ($nick !isop #) { .notice $nick You are not allowed to dump the playerlist. | !return } &lt;br /&gt;
  &lt;br /&gt;
   ;; if there is no gather going on, there is no list of players to dump. &lt;br /&gt;
   if (!$hget($htname)) { msg # There is no gather going on at this moment. Use !start to start one. | !return } &lt;br /&gt;
   var %i = $hget($htname,0).item &lt;br /&gt;
   if (!%i) { msg # There are currently no players participating in this gather. | !return } &lt;br /&gt;
   var %players &lt;br /&gt;
   while %i {  &lt;br /&gt;
     %players = $addtok(%players,$chr(32) $+ $hget($htname,%i).item,44) &lt;br /&gt;
     dec %i  &lt;br /&gt;
   } &lt;br /&gt;
   msg # Current players: %players &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 #numplayers-afeb-6ac1-6b3a-7606-20070710103913 on &lt;br /&gt;
 ;; !numplayers &lt;br /&gt;
 ;; Sets the amount of players. &lt;br /&gt;
 on *:TEXT:!numplayers &amp;amp;:%gatherchannel-1172-df51-b4b6-313e-20070710100156:{ &lt;br /&gt;
   ;; first arg has to be a number &lt;br /&gt;
   if ($2 !isnum) { .notice $nick Wrong usage of trigger. | !return } &lt;br /&gt;
  &lt;br /&gt;
   if ($calc($2 % 2)) { .notice $nick Number of players must be even. | !return } &lt;br /&gt;
  &lt;br /&gt;
  &lt;br /&gt;
   !set %gatherplayercount-e7ab-d273-a5f9-6ae2-20070710094110 $2 &lt;br /&gt;
   msg # Amount of players for gather set to $2 $+ . &lt;br /&gt;
  &lt;br /&gt;
   if ($hget($htname,0).item &amp;gt;= $maxplayers) { &lt;br /&gt;
     ;; form teams and start... &lt;br /&gt;
     .disable #numplayers-afeb-6ac1-6b3a-7606-20070710103913 &lt;br /&gt;
     msg # Gather full. If you joined this gather, please do not change your name until you received server information. &lt;br /&gt;
     msg # Please wait until teams are generated and information is sent to players. &lt;br /&gt;
  &lt;br /&gt;
     var %i = $maxplayers, %teamA, %teamB &lt;br /&gt;
     while %i {  &lt;br /&gt;
       if (($rand(0,1)) &amp;amp;&amp;amp; ($numtok(%teamA,44) &amp;lt; $calc($maxplayers / 2))) || ($numtok(%teamB,44) &amp;gt;= $calc($maxplayers / 2)) %teamA = $addtok(%teamA,$chr(32) $+ $hget($htname,%i).item,44) &lt;br /&gt;
       else %teamB = $addtok(%teamB,$chr(32) $+ $hget($htname,%i).item,44) &lt;br /&gt;
       dec %i &lt;br /&gt;
     } &lt;br /&gt;
     msg # Team A: %teamA &lt;br /&gt;
     msg # Team B: %teamB &lt;br /&gt;
     .raw PRIVMSG $remove(%teamA,$chr(32)) :Team: A &amp;gt; %teamA -- Server: $serverinfo &lt;br /&gt;
     .raw PRIVMSG $remove(%teamB,$chr(32)) :Team: B &amp;gt; %teamB -- Server: $serverinfo &lt;br /&gt;
     .enable #numplayers-afeb-6ac1-6b3a-7606-20070710103913 &lt;br /&gt;
     resetgather &lt;br /&gt;
   } &lt;br /&gt;
 } &lt;br /&gt;
 #numplayers-afeb-6ac1-6b3a-7606-20070710103913 end &lt;br /&gt;
  &lt;br /&gt;
 ;; !gatherchan &lt;br /&gt;
 ;; Changes gather channel to a new one &lt;br /&gt;
 on *:TEXT:!gatherchan &amp;amp;:%gatherchannel-1172-df51-b4b6-313e-20070710100156:{ &lt;br /&gt;
   if ($nick !isop #) { .notice $nick Only a channel operator on both old and new channel can change the channel. | !return } &lt;br /&gt;
   if ($hget($htname)) { .notice $nick Cannot change gather channel while a gather is running. | !return } &lt;br /&gt;
   if ($left($2,1) !isin $chantypes) { .notice $nick Not a valid channelname. | !return } &lt;br /&gt;
   if ($me !ison $2) { .notice $nick Cannot change the gather channel to a channel I am not on. | !return } &lt;br /&gt;
   if ($nick !isop $2) { .notice $nick Only a channel operator on both old and new channel can change the channel. | !return } &lt;br /&gt;
  &lt;br /&gt;
   !set %gatherchannel-1172-df51-b4b6-313e-20070710100156 $2 &lt;br /&gt;
   .notice $nick Gather channel set to $2 &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;; !serverinfo &lt;br /&gt;
 ;; Changes the server info. Only a channel operator can use this. &lt;br /&gt;
 on *:TEXT:!serverinfo *:%gatherchannel-1172-df51-b4b6-313e-20070710100156:{ &lt;br /&gt;
   if ($nick !isop #) { .notice $nick You are not allowed to change the server info | !return } &lt;br /&gt;
   if ($hget($htname)) { .notice $nick Server info cannot be changed during a gather. | !return } &lt;br /&gt;
  &lt;br /&gt;
   !set %serverinfo-da91-c1fb-b6c7-8f8b-20070710105309 $2- &lt;br /&gt;
   .notice $nick Server information changed. &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 ;;;;; Some overhead. When a player quits, parts or is kicked they are removed from the gather. &lt;br /&gt;
 ;;;;; When the bot quits or is disconnected the gather is terminated. &lt;br /&gt;
 ;;;;; When a user changes his nick it&amp;#039;s automatically updated &lt;br /&gt;
 on *:KICK:%gatherchannel-1172-df51-b4b6-313e-20070710100156: if ($hget($htname,$nick)) !hdel $htname $nick &lt;br /&gt;
 on *:PART:%gatherchannel-1172-df51-b4b6-313e-20070710100156: if ($hget($htname,$nick)) !hdel $htname $nick &lt;br /&gt;
 on *:QUIT: { &lt;br /&gt;
   if ($nick == $me) &amp;amp;&amp;amp; ($hget($htname)) !hfree $htname &lt;br /&gt;
   else if ($hget($htname,$nick)) !hdel $htname $nick &lt;br /&gt;
 } &lt;br /&gt;
 on *:DISCONNECT: if ($hget($htname)) !hfree $htname &lt;br /&gt;
  &lt;br /&gt;
 on *:NICK:{ &lt;br /&gt;
   if ($nick != $me) &amp;amp;&amp;amp; ($nick != $newnick) { &lt;br /&gt;
     if ($hget($htname,$nick)) { &lt;br /&gt;
       !hadd $htname $newnick $v1 &lt;br /&gt;
       !hdel $htname $nick &lt;br /&gt;
     } &lt;br /&gt;
   } &lt;br /&gt;
 } &lt;br /&gt;
  &lt;br /&gt;
 on *:LOAD:{ &lt;br /&gt;
   !set %gatherchannel-1172-df51-b4b6-313e-20070710100156 #channel &lt;br /&gt;
   !set %gatherplayercount-e7ab-d273-a5f9-6ae2-20070710094110 10 &lt;br /&gt;
   !set %serverinfo-da91-c1fb-b6c7-8f8b-20070710105309 cs.someserver.com:12345 &lt;br /&gt;
 }&lt;br /&gt;
[[Category:Script Archive]]&lt;/div&gt;</summary>
		<author><name>Shenghi</name></author>
	</entry>
</feed>