File: channels.html

package info (click to toggle)
eggdrop 1.10.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,596 kB
  • sloc: ansic: 65,863; javascript: 8,908; sh: 5,337; tcl: 3,801; makefile: 1,771; python: 121
file content (549 lines) | stat: -rw-r--r-- 27,450 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
<!DOCTYPE html>

<html lang="en" data-content_root="../../">
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />

    <title>Channels Module &#8212; Eggdrop 1.10.1rc2 documentation</title>
    <link rel="stylesheet" type="text/css" href="../../_static/pygments.css?v=03e43079" />
    <link rel="stylesheet" type="text/css" href="../../_static/eggdrop.css?v=ab48a1b6" />
    <script src="../../_static/documentation_options.js?v=290de6c6"></script>
    <script src="../../_static/doctools.js?v=9bcbadda"></script>
    <script src="../../_static/sphinx_highlight.js?v=dc90522c"></script>
    <link rel="search" title="Search" href="../../search.html" />
    <link rel="next" title="Compress Module" href="compress.html" />
    <link rel="prev" title="Blowfish Module" href="blowfish.html" /> 
  </head><body>
    <div class="header-wrapper" role="banner">
      <div class="header">
        <div class="headertitle"><a
          href="../../index.html">Eggdrop 1.10.1rc2 documentation</a></div>
        <div class="rel" role="navigation" aria-label="related navigation">
          <a href="blowfish.html" title="Blowfish Module"
             accesskey="P">previous</a> |
          <a href="compress.html" title="Compress Module"
             accesskey="N">next</a>
        </div>
       </div>
    </div>

    <div class="content-wrapper">
      <div class="content">
        <div class="sidebar">
          
          <h3>Table of Contents</h3>
          <p class="caption" role="heading"><span class="caption-text">Installing Eggdrop</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../install/readme.html">README</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../install/install.html">Installing Eggdrop</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../install/upgrading.html">Upgrading Eggdrop</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Using Eggdrop</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../using/features.html">Eggdrop Features</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/core.html">Eggdrop Core Settings</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/partyline.html">The Party Line</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/autoscripts.html">Eggdrop Autoscripts</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/users.html">Users and Flags</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/bans.html">Bans, Invites, and Exempts</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/botnet.html">Botnet Sharing and Linking</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/ipv6.html">IPv6 support</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/tls.html">TLS support</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/ircv3.html">IRCv3 support</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/accounts.html">Account tracking in Eggdrop</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/pbkdf2info.html">Encryption/Hashing</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/python.html">Using the Python Module</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/twitchinfo.html">Twitch</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/tricks.html">Advanced Tips</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/text-sub.html">Textfile Substitutions</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/tcl-commands.html">Eggdrop Tcl Commands</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/twitch-tcl-commands.html">Eggdrop Twitch Tcl Commands</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../using/patch.html">Patching Eggdrop</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Tutorials</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../tutorials/setup.html">Setting Up Eggdrop</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tutorials/firststeps.html">Common First Steps</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tutorials/tlssetup.html">Enabling TLS Security on Eggdrop</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tutorials/userfilesharing.html">Sharing Userfiles</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tutorials/firstscript.html">Writing an Eggdrop Tcl Script</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../tutorials/module.html">Writing a Basic Eggdrop Module</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Eggdrop Modules</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="../index.html">Eggdrop Module Information</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="../included.html">Modules included with Eggdrop</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="assoc.html">Assoc Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="blowfish.html">Blowfish Module</a></li>
<li class="toctree-l2 current"><a class="current reference internal" href="#">Channels Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="compress.html">Compress Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="console.html">Console Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ctcp.html">CTCP Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="dns.html">DNS Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="filesys.html">Filesys Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="ident.html">Ident Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="irc.html">IRC Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="notes.html">Notes Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="pbkdf2.html">PBKDF2 Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="python.html">Python Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="seen.html">Seen Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="server.html">Server Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="share.html">Share Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="transfer.html">Transfer Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="twitch.html">Twitch Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="woobie.html">Woobie Module</a></li>
<li class="toctree-l2"><a class="reference internal" href="uptime.html">Uptime Module</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="../writing.html">How to Write an Eggdrop Module</a></li>
<li class="toctree-l1"><a class="reference internal" href="../internals.html">Eggdrop Bind Internals</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">About Eggdrop</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../../about/about.html">About Eggdrop</a></li>
<li class="toctree-l1"><a class="reference internal" href="../../about/legal.html">Boring legal stuff</a></li>
</ul>

          <div role="search">
            <h3 style="margin-top: 1.5em;">Search</h3>
            <form class="search" action="../../search.html" method="get">
                <input type="text" name="q" />
                <input type="submit" value="Go" />
            </form>
          </div>

        </div>
        <div class="document">
            
      <div class="documentwrapper">
        <div class="bodywrapper">
          <div class="body" role="main">
            
  <p>Last revised: October 25, 2010</p>
<section id="channels-module">
<span id="channels"></span><h1>Channels Module<a class="headerlink" href="#channels-module" title="Link to this heading">¶</a></h1>
<p>This module provides channel related support for the bot. Without it,
you won’t be able to make the bot join a channel or save channel specific
userfile information.</p>
<p>This module requires: none</p>
<p>Put this line into your Eggdrop configuration file to load the channels
module:</p>
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><span class="n">loadmodule</span> <span class="n">channels</span>
</pre></div>
</div>
<p>There are also some variables you can set in your config file:</p>
<blockquote>
<div><dl class="simple">
<dt>set chanfile “LamestBot.chan”</dt><dd><p>Enter here the filename where dynamic channel settings are stored.</p>
</dd>
<dt>set force-expire 0</dt><dd><p>Set this setting to 1 if you want your bot to expire bans/exempts/invites
set by other opped bots on the channel.</p>
</dd>
<dt>set share-greet 0</dt><dd><p>Set this setting to 1 if you want your bot to share user greets with
other bots on the channel if sharing user data.</p>
</dd>
<dt>set use-info 1</dt><dd><p>Set this setting to 1 if you want to allow users to store an info line.</p>
</dd>
<dt>set allow-ps 0</dt><dd><p>Set this setting to 1 if you want to allow both +p and +s channel modes
to be enforced at the same time by the chanmode channel setting.
Make sure your server supports +ps mixing or you may get endless mode
floods.</p>
</dd>
<dt>channel add #channel { SETTINGS }</dt><dd><p>This command adds a static channel to your bot (it cannot be removed via the partyline- we recommend using the .+chan command on the partyline instead). This command will add the channel preconfigured with the specified settings. A full list of settings is defined in <a class="reference internal" href="#channel-settings">Channel Settings</a>.</p>
</dd>
</dl>
</div></blockquote>
<section id="channel-settings">
<h2>Channel Settings<a class="headerlink" href="#channel-settings" title="Link to this heading">¶</a></h2>
<p>There are two types of channel settings: value-based settings (where you configure a setting with a number or string), and enable/disable-based settings (where you turn a setting on or off). These settings can be configured via Tcl using the ‘channel set’ command:</p>
<blockquote>
<div><dl class="simple">
<dt>channel set &lt;chan&gt; &lt;setting&gt;</dt><dd><p>This command modifies a specific channel setting for a channel. There are many different options for channels which you can define.
Some settings are enabled or disabled by a plus or minus in front of them, and others directly take text or integer values.</p>
</dd>
</dl>
</div></blockquote>
<section id="value-based-channel-settings">
<h3>Value-based Channel Settings<a class="headerlink" href="#value-based-channel-settings" title="Link to this heading">¶</a></h3>
<blockquote>
<div><dl>
<dt>chanmode +/-&lt;modes&gt;</dt><dd><p>This setting makes the bot enforce channel modes. It will always enforce
the +&lt;modes&gt; and remove the -&lt;modes&gt; modes.</p>
</dd>
<dt>idle-kick 0</dt><dd><p>This setting will make the bot check every minute for idle users. Set
this to 0 to disable idle check.</p>
</dd>
<dt>stopnethack-mode 0</dt><dd><p>This setting will make the bot de-op anyone who enters the channel
with serverops. There are seven different modes for this settings:</p>
<blockquote>
<div><table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>0</p></td>
<td><p>turn off</p></td>
</tr>
<tr class="row-even"><td><p>1</p></td>
<td><p>isoptest (allow serverop if registered op)</p></td>
</tr>
<tr class="row-odd"><td><p>2</p></td>
<td><p>wasoptest (allow serverop if user had op before split)</p></td>
</tr>
<tr class="row-even"><td><p>3</p></td>
<td><p>allow serverop if isop or wasop</p></td>
</tr>
<tr class="row-odd"><td><p>4</p></td>
<td><p>allow serverop if isop and wasop.</p></td>
</tr>
<tr class="row-even"><td rowspan="2"><p>5</p></td>
<td><p>If the channel is -bitch, see stopnethack-mode 3</p></td>
</tr>
<tr class="row-odd"><td><p>If the channel is +bitch, see stopnethack-mode 1</p></td>
</tr>
<tr class="row-even"><td rowspan="2"><p>6</p></td>
<td><p>If the channel is -bitch, see stopnethack-mode 2</p></td>
</tr>
<tr class="row-odd"><td><p>If the channel is +bitch, see stopnethack-mode 4</p></td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd>
<dt>revenge-mode 0</dt><dd><p>This settings defines how the bot should punish bad users when
revenging. There are four possible settings:</p>
<blockquote>
<div><table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>0</p></td>
<td><p>Deop the user.</p></td>
</tr>
<tr class="row-even"><td><p>1</p></td>
<td><p>Deop the user and give them the +d flag for the channel.</p></td>
</tr>
<tr class="row-odd"><td><p>2</p></td>
<td><p>Deop the user, give them the +d flag for the channel, and kick them.</p></td>
</tr>
<tr class="row-even"><td><p>3</p></td>
<td><p>Deop the user, give them the +d flag for the channel, kick, and ban them.</p></td>
</tr>
</tbody>
</table>
</div></blockquote>
</dd>
<dt>ban-type 3</dt><dd><p>This setting defines what type of bans should eggdrop place for
+k users or when revenge-mode is 3. Available types are:</p>
<blockquote>
<div><table class="docutils align-default">
<tbody>
<tr class="row-odd"><td colspan="2"><p>0 *!user&#64;host</p></td>
</tr>
<tr class="row-even"><td colspan="2"><p>1 *!*user&#64;host</p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p>2 *!*&#64;host</p></td>
</tr>
<tr class="row-even"><td colspan="2"><p>3 *!*user&#64;*.host</p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p>4 *!*&#64;*.host</p></td>
</tr>
<tr class="row-even"><td colspan="2"><p>5 nick!user&#64;host</p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p>6 nick!*user&#64;host</p></td>
</tr>
<tr class="row-even"><td colspan="2"><p>7 nick!*&#64;host</p></td>
</tr>
<tr class="row-odd"><td colspan="2"><p>8 nick!*user&#64;*.host</p></td>
</tr>
<tr class="row-even"><td colspan="2"><p>9 nick!*&#64;*.host</p></td>
</tr>
</tbody>
</table>
</div></blockquote>
<p>You can also specify types from 10 to 19 which correspond to types
0 to 9, but instead of using a * wildcard to replace portions of the
host, only numbers in hostnames are replaced with the ‘?’ wildcard.
Same is valid for types 20-29, but instead of ‘?’, the ‘*’ wildcard
will be used. Types 30-39 set the host to ‘*’.</p>
</dd>
<dt>ban-time 120</dt><dd><p>Set here how long temporary bans will last (in minutes). If you
set this setting to 0, the bot will never remove them.</p>
</dd>
<dt>exempt-time 60</dt><dd><p>Set here how long temporary exempts will last (in minutes). If you set
this setting to 0, the bot will never remove them. The bot will check
the exempts every X minutes, but will not remove the exempt if a ban is
set on the channel that matches that exempt. Once the ban is removed,
then the exempt will be removed the next time the bot checks. Please
note that this is an IRCnet feature.</p>
</dd>
<dt>invite-time 60</dt><dd><p>Set here how long temporary invites will last (in minutes). If you set
this setting to 0, the bot will never remove them. The bot will check
the invites every X minutes, but will not remove the invite if a
channel is set to +i. Once the channel is -i then the invite will be
removed the next time the bot checks. Please note that this is an
IRCnet feature.</p>
</dd>
<dt>aop-delay (minimum:maximum)</dt><dd><blockquote>
<div><p>This is used for autoop, autohalfop, autovoice. If an op or voice joins
a channel while another op or voice is pending, the bot will attempt to
put both modes on one line.</p>
<blockquote>
<div><table class="docutils align-default">
<tbody>
<tr class="row-odd"><td><p>aop-delay 0</p></td>
<td><p>No delay is used.</p></td>
</tr>
<tr class="row-even"><td><p>aop-delay X</p></td>
<td><p>An X second delay is used.</p></td>
</tr>
<tr class="row-odd"><td><p>aop-delay X:Y</p></td>
<td><p>A random delay between X and Y is used.</p></td>
</tr>
</tbody>
</table>
</div></blockquote>
</div></blockquote>
<dl class="simple">
<dt>need-op { putserv “PRIVMSG #lamest :op me cos i’m lame!” }</dt><dd><p>This setting will make the bot run the script enclosed in braces
if it does not have ops. This must be shorter than 120 characters.
If you use scripts like getops.tcl or botnetop.tcl, you don’t need
to set this setting.</p>
</dd>
<dt>need-invite { putserv “PRIVMSG #lamest :let me in!” }</dt><dd><p>This setting will make the bot run the script enclosed in braces
if it needs an invite to the channel. This must be shorter than 120
characters. If you use scripts like getops.tcl or botnetop.tcl, you
don’t need to set this setting.</p>
</dd>
<dt>need-key { putserv “PRIVMSG #lamest :let me in!” }</dt><dd><p>This setting will make the bot run the script enclosed in braces
if it needs the key to the channel. This must be shorter than 120
characters. If you use scripts like getops.tcl or botnetop.tcl, you
don’t need to set this setting.</p>
</dd>
<dt>need-unban { putserv “PRIVMSG #lamest :let me in!” }</dt><dd><p>This setting will make the bot run the script enclosed in braces
if it needs to be unbanned on the channel. This must be shorter than
120 characters. If you use scripts like getops.tcl or botnetop.tcl,
you don’t need to set this setting.</p>
</dd>
<dt>need-limit { putserv “PRIVMSG #lamest :let me in!” }</dt><dd><p>This setting will make the bot run the script enclosed in braces
if it needs the limit to be raised on the channel. This must be
shorter than 120 characters. If you use scripts like getops.tcl or
botnetop.tcl, you don’t need to set this setting.</p>
</dd>
<dt>flood-chan 15:60</dt><dd><p>Set here how many channel messages in how many seconds from one
host constitutes a flood. Setting this to 0, 0:X or X:0 disables text
flood protection for the channel, where X is an integer &gt;= 0.</p>
</dd>
<dt>flood-deop 3:10</dt><dd><p>Set here how many deops in how many seconds from one host constitutes
a flood. Setting this to 0, 0:X or X:0 disables deop flood protection for
the channel, where X is an integer &gt;= 0.</p>
</dd>
<dt>flood-kick 3:10</dt><dd><p>Set here how many kicks in how many seconds from one host constitutes
a flood. Setting this to 0, 0:X or X:0 disables kick flood protection for
the channel, where X is an integer &gt;= 0.</p>
</dd>
<dt>flood-join 5:60</dt><dd><p>Set here how many joins in how many seconds from one host constitutes
a flood. Setting this to 0, 0:X or X:0 disables join flood protection for
the channel, where X is an integer &gt;= 0.</p>
</dd>
<dt>flood-ctcp 3:60</dt><dd><p>Set here how many channel ctcps in how many seconds from one host
constitutes a flood. Setting this to 0, 0:X or X:0 disables ctcp flood
protection for the channel, where X is an integer &gt;= 0.</p>
</dd>
<dt>flood-nick 5:60</dt><dd><p>Set here how many nick changes in how many seconds from one host
constitutes a flood. Setting this to 0, 0:X or X:0 disables nick flood
protection for the channel, where X is an integer &gt;= 0.</p>
</dd>
</dl>
</dd>
</dl>
</div></blockquote>
</section>
<section id="enable-disable-channel-settings">
<h3>Enable/Disable Channel Settings<a class="headerlink" href="#enable-disable-channel-settings" title="Link to this heading">¶</a></h3>
<p>These settings should be preceded by a + or - to enable or disable the setting, respctively.</p>
<blockquote>
<div><dl>
<dt>enforcebans</dt><dd><p>When a ban is set, kick people who are on the channel and match
the ban</p>
</dd>
<dt>dynamicbans</dt><dd><p>Only activate bans on the channel when necessary? This keeps the
channel’s ban list from getting excessively long. The bot still
remembers every ban, but it only activates a ban on the channel
when it sees someone join who matches that ban.</p>
</dd>
<dt>userbans</dt><dd><p>Allow bans to be made by users directly? If turned off, the bot will
require all bans to be made through the bot’s console.</p>
</dd>
<dt>dynamicexempts</dt><dd><p>Only activate exempts on the channel when necessary? This keeps the
channel’s exempt list from getting excessively long. The bot still
remembers every exempt, but it only activates a exempt on the channel
when it sees a ban set that matches the exempt. The exempt remains
active on the channel for as long as the ban is still active.</p>
</dd>
<dt>userexempts</dt><dd><p>Allow exempts to be made by users directly? If turned off, the bot will
require all exempts to be made through the bot’s console.</p>
</dd>
<dt>dynamicinvites</dt><dd><p>Only activate invites on the channel when necessary? This keeps the
channel’s invite list from getting excessively long. The bot still
remembers every invite, but the invites are only activated when the
channel is set to invite only and a user joins after requesting an
invite. Once set, the invite remains until the channel goes to -i.</p>
</dd>
<dt>userinvites</dt><dd><p>Allow invites to be made by users directly? If turned off, the bot
will require all invites to be made through the bot’s console.</p>
</dd>
<dt>autoop</dt><dd><p>Op users with the +o flag as soon as they join the channel
This is insecure and not recommended.</p>
</dd>
<dt>autohalfop</dt><dd><p>Halfop users with the +l flag as soon as they join the channel?
This is insecure and not recommended.</p>
</dd>
<dt>bitch</dt><dd><p>Only let users with the +o flag have op on the channel</p>
</dd>
<dt>greet</dt><dd><p>Say a user’s info line when they join the channel</p>
</dd>
<dt>protectops</dt><dd><p>Re-op a user with the +o flag if they get deopped?</p>
</dd>
<dt>protecthalfops</dt><dd><p>Re-halfop a user with the +l flag if they get dehalfopped</p>
</dd>
<dt>protectfriends</dt><dd><p>Re-op a user with the +f flag if they get deopped</p>
</dd>
<dt>statuslog</dt><dd><p>Log the channel status line every 5 minutes? This shows the bot’s
status on the channel (op, voice, etc.), the channel’s modes, and
the total number of members, ops, voices, regular users, and +b,
+e, and +I modes on the channel. A sample status line follows:</p>
<blockquote>
<div><p>[01:40] &#64;#lamest (+istn) : [m/1 o/1 v/4 n/7 b/1 e/5 I/7]</p>
</div></blockquote>
</dd>
<dt>revenge</dt><dd><p>Remember people who deop/kick/ban the bot, valid ops, or friends
and punish them? Users with the +f flag are exempt from revenge.</p>
</dd>
<dt>revengebot</dt><dd><p>This is similar to to the ‘revenge’ option, but it only triggers
if a bot gets deopped, kicked or banned.</p>
</dd>
<dt>autovoice</dt><dd><p>Voice users with the +v flag when they join the channel?</p>
</dd>
<dt>secret</dt><dd><p>Prevent this channel from being listed on the botnet?</p>
</dd>
<dt>shared</dt><dd><p>Share channel-related user info for this channel?</p>
</dd>
<dt>cycle</dt><dd><p>Cycle the channel when it has no ops?</p>
</dd>
<dt>dontkickops</dt><dd><p>Do you want the bot not to be able to kick users who have the +o
flag, letting them kick-flood for instance to protect the channel
against clone attacks?</p>
</dd>
<dt>inactive</dt><dd><p>This prevents the bot from joining the channel (or makes it leave the
channel if it is already there). It can be useful to make the bot leave
a channel without losing its settings, channel-specific user flags,
channel bans, and without affecting sharing.</p>
</dd>
<dt>seen</dt><dd><p>Respond to seen requests in the channel?  The seen module must be
loaded for this to work.</p>
</dd>
<dt>nodesynch</dt><dd><p>Allow non-ops to perform channel modes? This can stop the bot from
fighting with services such as ChanServ, or from kicking IRCops when
setting channel modes without having ops.</p>
</dd>
<dt>static</dt><dd><p>Allow only permanent owners to remove the channel</p>
</dd>
</dl>
</div></blockquote>
</section>
</section>
<section id="default-channel-values">
<h2>Default Channel Values<a class="headerlink" href="#default-channel-values" title="Link to this heading">¶</a></h2>
<blockquote>
<div><blockquote>
<div><p>The following settings are used as default values when you .+chan #chan or .tcl
channel add #chan. You can modify these default values by adding the below values to your config fil. Look in the <a class="reference internal" href="#channel-settings">Channel Settings</a> for an explanation of each option.</p>
<blockquote>
<div><p>set default-flood-chan 15:60</p>
<p>set default-flood-deop 3:10</p>
<p>set default-flood-kick 3:10</p>
<p>set default-flood-join 5:60</p>
<p>set default-flood-ctcp 3:60</p>
<p>set default-flood-nick 5:60</p>
<p>set default-aop-delay 5:30</p>
<p>set default-idle-kick 0</p>
<p>set default-chanmode “nt”</p>
<p>set default-stopnethack-mode 0</p>
<p>set default-revenge-mode 0</p>
<p>set default-ban-type 3</p>
<p>set default-ban-time 120</p>
<p>set default-exempt-time 60</p>
<p>set default-invite-time 60</p>
<dl>
<dt>set default-chanset {</dt><dd><div class="line-block">
<div class="line">-autoop</div>
<div class="line">-autovoice</div>
<div class="line">-bitch</div>
<div class="line">+cycle</div>
<div class="line">+dontkickops</div>
<div class="line">+dynamicbans</div>
<div class="line">+dynamicexempts</div>
<div class="line">+dynamicinvites</div>
<div class="line">-enforcebans</div>
<div class="line">+greet</div>
<div class="line">-inactive</div>
<div class="line">-nodesynch</div>
<div class="line">-protectfriends</div>
<div class="line">+protectops</div>
<div class="line">-revenge</div>
<div class="line">-revengebot</div>
<div class="line">-secret</div>
<div class="line">-seen</div>
<div class="line">+shared</div>
<div class="line">-statuslog</div>
<div class="line">+userbans</div>
<div class="line">+userexempts</div>
<div class="line">+userinvites</div>
<div class="line">-protecthalfops</div>
<div class="line">-autohalfop</div>
<div class="line">-static</div>
</div>
</dd>
</dl>
<p>}</p>
</div></blockquote>
</div></blockquote>
<p>Copyright (C) 2000 - 2025 Eggheads Development Team</p>
</div></blockquote>
</section>
</section>


            <div class="clearer"></div>
          </div>
        </div>
      </div>
        </div>
        <div class="clearer"></div>
      </div>
    </div>

    <div class="footer-wrapper">
      <div class="footer">
        <div class="left">
          <div role="navigation" aria-label="related navigaton">
            <a href="blowfish.html" title="Blowfish Module"
              >previous</a> |
            <a href="compress.html" title="Compress Module"
              >next</a>
          </div>
          <div role="note" aria-label="source link">
          </div>
        </div>

        <div class="right">
          
    <div class="footer" role="contentinfo">
    &#169; Copyright 2025, Eggheads.
      Last updated on Aug 15, 2025.
      Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 8.2.3.
    </div>
        </div>
        <div class="clearer"></div>
      </div>
    </div>

  </body>
</html>