~ubuntu-branches/ubuntu/oneiric/eggdrop/oneiric

« back to all changes in this revision

Viewing changes to doc/html/mod-channels.html

  • Committer: Bazaar Package Importer
  • Author(s): Guilherme de S. Pastore
  • Date: 2004-06-17 09:15:28 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040617091528-64rrw1sa33lkfhmh
Tags: 1.6.16-2
* Fixed typo on README.Debian
* Fixed hyphens in manual page
* Converted debian/rules to CDBS
* Set path to binary on example config file
* Changed LANGDIR on src/eggdrop.h (Closes: #254824)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2
 
<!-- $Id: mod-channels.html,v 1.13 2002/01/03 03:25:42 guppy Exp $ -->
 
2
<!-- $Id: mod-channels.html,v 1.22 2004/01/09 05:56:36 wcc Exp $ -->
3
3
 
4
4
<html>
5
5
  <head>
12
12
    </div>
13
13
    <hr>
14
14
 
15
 
    <p>This module provides channel related support for the bot. Without 
16
 
    it, you wont be able to make the bot join a channel or save channel
 
15
    <p>This module provides channel related support for the bot. Without
 
16
    it, you won&#39;t be able to make the bot join a channel or save channel
17
17
    specific userfile information.</p>
18
18
 
19
19
    <blockquote>
20
20
      <ol>
21
21
        <li><a href="#config">Config file settings</a></li>
22
 
 
23
 
        <li><a href="#tclcmds">Tcl commands</a></li>
24
22
      </ol>
25
23
    </blockquote>
26
24
    <hr>
28
26
    <p><a name="config"></a>1. <strong>Config file settings</strong></p>
29
27
 
30
28
    <blockquote>
31
 
      <p>Lines in <strong>bold</strong> are the lines that need to be
32
 
      included in the Eggdrop config file if you want to use the share
33
 
      module. Lines in <strong><em>bold italics</em></strong> are optional
34
 
      and only required if you wish to change the default behavior for 
35
 
      that particular feature.</p>
36
 
 
37
 
      <p>Put this line into your Eggdrop configuration file to load the 
 
29
      <p>Put this line into your Eggdrop configuration file to load the
38
30
      channels module:</p>
39
31
 
40
32
      <p><strong>loadmodule channels</strong></p>
45
37
 
46
38
    <blockquote>
47
39
      <dl>
48
 
        <dt><strong><em>set chanfile
49
 
        &quot;LamestBot.chan&quot;</em></strong></dt>
 
40
        <dt><strong>set chanfile&quot;LamestBot.chan&quot;</strong></dt>
50
41
 
51
42
        <dd>
52
 
          <p>Enter here the filename where dynamic channel settings are 
 
43
          <p>Enter here the filename where dynamic channel settings are
53
44
          stored.</p>
54
45
        </dd>
55
46
 
56
 
        <dt><strong><em>set ban-time 120</em></strong></dt>
57
 
 
58
 
        <dd>
59
 
          <p>Set here how long temporary bans will last (in minutes). If you
60
 
          set this setting to 0, the bot will never remove them.</p>
61
 
        </dd>
62
 
 
63
 
        <dt><strong><em>set exempt-time 60</em></strong></dt>
64
 
 
65
 
        <dd>
66
 
          <p>Set here how long temporary exempts will last (in minutes). If 
67
 
          you set this setting to 0, the bot will never remove them. The bot
68
 
          will check the exempts every X minutes, but will not remove the 
69
 
          exempt if a ban is set on the channel that matches that exempt. 
70
 
          Once the ban is removed, then the exempt will be removed the next
71
 
          time the bot checks.</p>
72
 
 
73
 
          <p>Please note that this is an IRCnet feature.</p>
74
 
        </dd>
75
 
 
76
 
        <dt><strong><em>set invite-time 60</em></strong></dt>
77
 
 
78
 
        <dd>
79
 
          <p>Set here how long temporary invites will last (in minutes). 
80
 
          If you set this setting to 0, the bot will never remove them.
81
 
          The bot will check the invites every X minutes, but will not 
82
 
          remove the invite if a channel is set to +i. Once the channel 
83
 
          is -i, then the invite will be removed the next time the bot 
84
 
          checks.</p>
85
 
 
86
 
          <p>Please note that this is an IRCnet feature.</p>
87
 
        </dd>
88
 
 
89
 
        <dt><strong><em>set force-expire 0</em></strong></dt>
90
 
 
91
 
        <dd>
92
 
          <p>Set this setting to 1 if you want your bot to expire 
 
47
        <dt><strong>set force-expire 0</strong></dt>
 
48
 
 
49
        <dd>
 
50
          <p>Set this setting to 1 if you want your bot to expire
93
51
          bans/exempts/invites set by other opped bots on the channel.</p>
94
52
        </dd>
95
53
 
96
 
        <dt><strong><em>set share-greet 0</em></strong></dt>
 
54
        <dt><strong>set share-greet 0</strong></dt>
97
55
 
98
56
        <dd>
99
 
          <p>Set this setting to 1 if you want your bot to share user greets 
 
57
          <p>Set this setting to 1 if you want your bot to share user greets
100
58
          with other bots on the channel if sharing user data.</p>
101
59
        </dd>
102
60
 
103
 
        <dt><strong><em>set use-info 1</em></strong></dt>
 
61
        <dt><strong>set use-info 1</strong></dt>
104
62
 
105
63
        <dd>
106
 
          <p>Set this setting to 1 if you want to allow users to store an 
 
64
          <p>Set this setting to 1 if you want to allow users to store an
107
65
          info line.</p>
108
66
        </dd>
109
67
 
110
 
        <dt><strong><em>channel add #channel { SETTINGS }</em></strong></dt>
 
68
        <dt><strong>channel add #channel { SETTINGS }</strong></dt>
111
69
 
112
70
        <dd>
113
 
          <p>Add each static channel you want your bot to sit in using this 
 
71
          <p>Add each static channel you want your bot to sit in using this
114
72
          command. There are many different possible settings you can insert
115
73
          into this command, which are explained below.</p>
116
74
 
117
75
          <blockquote>
118
76
            <dl>
119
 
              <dt><strong><em>chanmode +/-&lt;modes&gt;</em></strong></dt>
 
77
              <dt><strong>chanmode +/-&lt;modes&gt;</strong></dt>
120
78
 
121
79
              <dd>
122
 
                <p>This setting makes the bot enforce channel modes. It will 
 
80
                <p>This setting makes the bot enforce channel modes. It will
123
81
                always add the +&lt;modes&gt; and remove the -&lt;modes&gt;
124
82
                modes.</p>
125
83
              </dd>
126
84
 
127
 
              <dt><strong><em>idle-kick 0</em></strong></dt>
 
85
              <dt><strong>idle-kick 0</strong></dt>
128
86
 
129
87
              <dd>
130
88
                <p>This setting will make the bot check every minute for idle
131
89
               users. Set this to 0 to disable idle check.</p>
132
90
              </dd>
133
91
 
134
 
              <dt><strong><em>stopnethack-mode 0</em></strong></dt>
 
92
              <dt><strong>stopnethack-mode 0</strong></dt>
135
93
 
136
94
              <dd>
137
 
                <p>This setting will make the bot de-op anyone who enters 
138
 
                the channel with serverops. There are seven different modes 
 
95
                <p>This setting will make the bot de-op anyone who enters
 
96
                the channel with serverops. There are seven different modes
139
97
                for this settings:</p>
140
98
 
141
99
                <table border=0>
154
112
                  <tr>
155
113
                    <td>2</td>
156
114
 
157
 
                    <td>wasoptest (allow serverop if user had op before 
 
115
                    <td>wasoptest (allow serverop if user had op before
158
116
                    split)</td>
159
117
                  </tr>
160
118
 
186
144
                </table>
187
145
              </dd>
188
146
 
189
 
              <dt><strong><em>need-op { putserv &quot;PRIVMSG #lamest :op me
190
 
              cos i&#39;m lame!&quot; }</em></strong></dt>
 
147
              <dt><strong>revenge-mode 0</strong></dt>
 
148
 
 
149
              <dd>
 
150
                <p>This settings defines how the bot should punish bad users
 
151
                when revenging. There are four possible settings:</p>
 
152
 
 
153
                <table border=0>
 
154
                  <tr>
 
155
                    <td>0</td>
 
156
 
 
157
                    <td>Deop the user.</td>
 
158
                  </tr>
 
159
 
 
160
                  <tr>
 
161
                    <td>1</td>
 
162
 
 
163
                    <td>Deop the user and give them the +d flag for the
 
164
                    channel.</td>
 
165
                  </tr>
 
166
 
 
167
                  <tr>
 
168
                    <td>2</td>
 
169
 
 
170
                    <td>Deop the user, give them the +d flag for the channel,
 
171
                    and kick them.</td>
 
172
                  </tr>
 
173
 
 
174
                  <tr>
 
175
                    <td>3</td>
 
176
 
 
177
                    <td>Deop the user, give them the +d flag for the channel,
 
178
                    kick, and ban them.</td>
 
179
                  </tr>
 
180
                </table>
 
181
              </dd>
 
182
 
 
183
              <dt><strong>ban-time 120</strong></dt>
 
184
              
 
185
              <dd>
 
186
                <p>Set here how long temporary bans will last (in minutes). If
 
187
                you set this setting to 0, the bot will never remove them.</p>
 
188
              </dd>
 
189
 
 
190
              <dt><strong>exempt-time 60</strong></dt>
 
191
              
 
192
              <dd>
 
193
                <p>Set here how long temporary exempts will last (in minutes).
 
194
                If you set this setting to 0, the bot will never remove them.
 
195
                The bot will check the exempts every X minutes, but will not
 
196
                remove the exempt if a ban is set on the channel that matches
 
197
                that exempt. Once the ban is removed, then the exempt will be
 
198
                removed the next time the bot checks. Please note that this is
 
199
                an IRCnet feature.</p>
 
200
              </dd>
 
201
 
 
202
              <dt><strong>invite-time 60</strong></dt>
 
203
              
 
204
              <dd>
 
205
                <p>Set here how long temporary invites will last (in minutes).
 
206
                If you set this setting to 0, the bot will never remove them.
 
207
                The bot will check the invites every X minutes, but will not
 
208
                remove the invite if a channel is set to +i. Once the channel
 
209
                is -i then the invite will be removed the next time the bot
 
210
                checks. Please note that this is an IRCnet feature.</p>
 
211
              </dd>
 
212
 
 
213
              <dt><strong>need-op { putserv &quot;PRIVMSG #lamest :op me
 
214
              cos i&#39;m lame!&quot; }</strong></dt>
191
215
 
192
216
              <dd>
193
217
                <p>This setting will make the bot run the script enclosed in
194
 
                braces if it does not have ops. This must be shorter than 
195
 
                120 characters. If you use scripts like getops.tcl or 
 
218
                braces if it does not have ops. This must be shorter than
 
219
                120 characters. If you use scripts like getops.tcl or
196
220
                botnetop.tcl, you don&#39;t need to set this setting.</p>
197
221
              </dd>
198
222
 
199
 
              <dt><strong><em>need-invite { putserv &quot;PRIVMSG #lamest
200
 
              :let me in!&quot; }</em></strong></dt>
201
 
 
202
 
              <dd>
203
 
                <p>This setting will make the bot run the script enclosed in 
204
 
                braces if it needs an invite to the channel. This must be 
205
 
                shorter than 120 characters. If you use scripts like 
206
 
                getops.tcl or botnetop.tcl, you don&#39;t need to set this
207
 
                setting.</p>
208
 
              </dd>
209
 
 
210
 
              <dt><strong><em>need-key { putserv &quot;PRIVMSG #lamest :let
211
 
              me in!&quot; }</em></strong></dt>
212
 
 
213
 
              <dd>
214
 
                <p>This setting will make the bot run the script enclosed in
215
 
                braces if it needs the key to the channel. This must be 
216
 
                shorter than 120 characters. If you use scripts like 
217
 
                getops.tcl or botnetop.tcl, you don&#39;t need to set this
218
 
                setting.</p>
219
 
              </dd>
220
 
 
221
 
              <dt><strong><em>need-unban { putserv &quot;PRIVMSG #lamest :let
222
 
              me in!&quot; }</em></strong></dt>
223
 
 
224
 
              <dd>
225
 
                <p>This setting will make the bot run the script enclosed in 
226
 
                braces if it needs to be unbanned on the channel. This must 
227
 
                be shorter than 120 characters. If you use scripts like 
228
 
                getops.tcl or botnetop.tcl, you don&#39;t need to set this
229
 
                setting.</p>
230
 
              </dd>
231
 
 
232
 
              <dt><strong><em>need-limit { putserv &quot;PRIVMSG #lamest :let
233
 
              me in!&quot; }</em></strong></dt>
234
 
 
235
 
              <dd>
236
 
                <p>This setting will make the bot run the script enclosed in
237
 
                braces if it needs the limit to be raised on the channel. 
 
223
              <dt><strong>need-invite { putserv &quot;PRIVMSG #lamest
 
224
              :let me in!&quot; }</strong></dt>
 
225
 
 
226
              <dd>
 
227
                <p>This setting will make the bot run the script enclosed in
 
228
                braces if it needs an invite to the channel. This must be
 
229
                shorter than 120 characters. If you use scripts like
 
230
                getops.tcl or botnetop.tcl, you don&#39;t need to set this
 
231
                setting.</p>
 
232
              </dd>
 
233
 
 
234
              <dt><strong>need-key { putserv &quot;PRIVMSG #lamest :let
 
235
              me in!&quot; }</strong></dt>
 
236
 
 
237
              <dd>
 
238
                <p>This setting will make the bot run the script enclosed in
 
239
                braces if it needs the key to the channel. This must be
 
240
                shorter than 120 characters. If you use scripts like
 
241
                getops.tcl or botnetop.tcl, you don&#39;t need to set this
 
242
                setting.</p>
 
243
              </dd>
 
244
 
 
245
              <dt><strong>need-unban { putserv &quot;PRIVMSG #lamest :let
 
246
              me in!&quot; }</strong></dt>
 
247
 
 
248
              <dd>
 
249
                <p>This setting will make the bot run the script enclosed in
 
250
                braces if it needs to be unbanned on the channel. This must
 
251
                be shorter than 120 characters. If you use scripts like
 
252
                getops.tcl or botnetop.tcl, you don&#39;t need to set this
 
253
                setting.</p>
 
254
              </dd>
 
255
 
 
256
              <dt><strong>need-limit { putserv &quot;PRIVMSG #lamest :let
 
257
              me in!&quot; }</strong></dt>
 
258
 
 
259
              <dd>
 
260
                <p>This setting will make the bot run the script enclosed in
 
261
                braces if it needs the limit to be raised on the channel.
238
262
                This must be shorter than 120 characters. If you use scripts
239
 
                like getops.tcl or botnetop.tcl, you don&#39;t need to set 
 
263
                like getops.tcl or botnetop.tcl, you don&#39;t need to set
240
264
                this setting.</p>
241
265
              </dd>
242
266
 
243
 
              <dt><strong><em>flood-chan 10:60</em></strong></dt>
 
267
              <dt><strong>flood-chan 10:60</strong></dt>
244
268
 
245
269
              <dd>
246
 
                <p>Set here how many channel messages in how many seconds 
 
270
                <p>Set here how many channel messages in how many seconds
247
271
                from one host constitutes a flood. Setting this to 0 or 0:0
248
272
                disables text flood protection for the channel.</p>
249
273
              </dd>
250
274
 
251
 
              <dt><strong><em>flood-deop 3:10</em></strong></dt>
 
275
              <dt><strong>flood-deop 3:10</strong></dt>
252
276
 
253
277
              <dd>
254
278
                <p>Set here how many deops in how many seconds from one host
256
280
                flood protection for the channel.</p>
257
281
              </dd>
258
282
 
259
 
              <dt><strong><em>flood-kick 3:10</em></strong></dt>
 
283
              <dt><strong>flood-kick 3:10</strong></dt>
260
284
 
261
285
              <dd>
262
286
                <p>Set here how many kicks in how many seconds from one host
263
 
                constitutes a flood. Setting this to 0 or 0:0 disables kick 
 
287
                constitutes a flood. Setting this to 0 or 0:0 disables kick
264
288
                flood protection for the channel.</p>
265
289
              </dd>
266
290
 
267
 
              <dt><strong><em>flood-join 5:60</em></strong></dt>
 
291
              <dt><strong>flood-join 5:60</strong></dt>
268
292
 
269
293
              <dd>
270
294
                <p>Set here how many joins in how many seconds from one host
271
 
                constitutes a flood. Setting this to 0 or 0:0 disables join 
 
295
                constitutes a flood. Setting this to 0 or 0:0 disables join
272
296
                flood protection for the channel.</p>
273
297
              </dd>
274
298
 
275
 
              <dt><strong><em>flood-ctcp 3:60</em></strong></dt>
 
299
              <dt><strong>flood-ctcp 3:60</strong></dt>
276
300
 
277
301
              <dd>
278
 
                <p>Set here how many channel ctcps in how many seconds from 
279
 
                one host constitutes a flood. Setting this to 0 or 0:0 
 
302
                <p>Set here how many channel ctcps in how many seconds from
 
303
                one host constitutes a flood. Setting this to 0 or 0:0
280
304
                disables ctcp flood  protection for the channel.</p>
281
305
              </dd>
282
306
 
283
 
              <dt><strong><em>flood-nick 5:60</em></strong></dt>
 
307
              <dt><strong>flood-nick 5:60</strong></dt>
284
308
 
285
309
              <dd>
286
 
                <p>Set here how many nick changes in how many seconds from 
287
 
                one host constitutes a flood. Setting this to 0 or 0:0 
 
310
                <p>Set here how many nick changes in how many seconds from
 
311
                one host constitutes a flood. Setting this to 0 or 0:0
288
312
                disables nick flood protection for the channel.</p>
289
313
              </dd>
290
314
            </dl>
291
315
          </blockquote>
292
316
        </dd>
293
317
 
294
 
        <dt><strong><em>channel set &lt;chan&gt; +/-&lt;setting&gt;</em>
 
318
        <dt><strong>channel set &lt;chan&gt; +/-&lt;setting&gt;
295
319
        </strong></dt>
296
320
 
297
321
        <dd>
298
322
          <p>There are many different options for channels which you can
299
 
          define. They can be enabled or disabled by a plus or minus in 
 
323
          define. They can be enabled or disabled by a plus or minus in
300
324
          front of them.</p>
301
325
 
302
326
          <p>A complete list of all available channel settings:</p>
306
330
              <dt><strong>enforcebans</strong></dt>
307
331
 
308
332
              <dd>
309
 
                <p>When a ban is set, kick people who are on the channel and 
 
333
                <p>When a ban is set, kick people who are on the channel and
310
334
                match the ban?</p>
311
335
              </dd>
312
336
 
313
337
              <dt><strong>dynamicbans</strong></dt>
314
338
 
315
339
              <dd>
316
 
                <p>Only activate bans on the channel when necessary? This 
 
340
                <p>Only activate bans on the channel when necessary? This
317
341
                keeps the channel&#39;s ban list from getting excessively long.
318
342
                The bot still remembers every ban, but it only activates a
319
343
                ban on the channel when it sees someone join who matches that
323
347
              <dt><strong>userbans</strong></dt>
324
348
 
325
349
              <dd>
326
 
                <p>Allow bans to be made by users directly? If turned off, 
 
350
                <p>Allow bans to be made by users directly? If turned off,
327
351
                the bot will require all bans to be made through the bot&#39;s
328
352
                console.</p>
329
353
              </dd>
331
355
              <dt><strong>dynamicexempts</strong></dt>
332
356
 
333
357
              <dd>
334
 
                <p>Only activate exempts on the channel when necessary? This 
335
 
                keeps the channel&#39;s exempt list from getting excessively 
336
 
                long. The bot still remembers every exempt, but it only 
337
 
                activates a exempt on the channel when it sees a ban set 
338
 
                that matches the exempt. The exempt remains active on the 
 
358
                <p>Only activate exempts on the channel when necessary? This
 
359
                keeps the channel&#39;s exempt list from getting excessively
 
360
                long. The bot still remembers every exempt, but it only
 
361
                activates a exempt on the channel when it sees a ban set
 
362
                that matches the exempt. The exempt remains active on the
339
363
                channel for as long as the ban is still active.</p>
340
364
              </dd>
341
365
 
342
366
              <dt><strong>userexempts</strong></dt>
343
367
 
344
368
              <dd>
345
 
                <p>Allow exempts to be made by users directly? If turned 
346
 
                off, the bot will require all exempts to be made through 
 
369
                <p>Allow exempts to be made by users directly? If turned
 
370
                off, the bot will require all exempts to be made through
347
371
                the bot&#39;s console.</p>
348
372
              </dd>
349
373
 
350
374
              <dt><strong>dynamicinvites</strong></dt>
351
375
 
352
376
              <dd>
353
 
                <p>Only activate invites on the channel when necessary? 
354
 
                This keeps the channel&#39;s invite list from getting 
355
 
                excessively long. The bot still remembers every invite, but 
 
377
                <p>Only activate invites on the channel when necessary?
 
378
                This keeps the channel&#39;s invite list from getting
 
379
                excessively long. The bot still remembers every invite, but
356
380
                the invites are only activated when the channel is set to
357
381
                invite only and a user joins after requesting an invite.
358
382
                Once set, the invite remains until the channel goes to -i.</p>
361
385
              <dt><strong>userinvites</strong></dt>
362
386
 
363
387
              <dd>
364
 
                <p>Allow invites to be made by users directly? If turned 
365
 
                off, the bot will require all invites to be made through 
 
388
                <p>Allow invites to be made by users directly? If turned
 
389
                off, the bot will require all invites to be made through
366
390
                the bot&#39;s console.</p>
367
391
              </dd>
368
392
 
373
397
                <strong>This is insecure and not recommended.</strong></p>
374
398
              </dd>
375
399
 
 
400
              <dt><strong>autohalfop</strong></dt>
 
401
 
 
402
              <dd>
 
403
                <p>Halfop users with the +l flag as soon as they join the
 
404
                channel? <strong>This is insecure and not
 
405
                recommended.</strong></p>
 
406
              </dd>
 
407
 
376
408
              <dt><strong>bitch</strong></dt>
377
409
 
378
410
              <dd>
392
424
                <p>Re-op a user with the +o flag if they get deopped?</p>
393
425
              </dd>
394
426
 
 
427
              <dt><strong>protecthalfops</strong></dt>
 
428
 
 
429
              <dd>
 
430
                <p>Re-halfop a user with the +l flag if they get
 
431
                dehalfopped?</p>
 
432
              </dd>
 
433
 
395
434
              <dt><strong>protectfriends</strong></dt>
396
435
 
397
436
              <dd>
402
441
 
403
442
              <dd>
404
443
                <p>Log the channel status line every 5 minutes? This shows
405
 
                the bot&#39;s status on the channel (op, voice, etc.), The 
 
444
                the bot&#39;s status on the channel (op, voice, etc.), The
406
445
                channel&#39;s modes, and the number of +m/+o/+v/+n/+b/+e/+I
407
446
                users on the channel. A sample status line follows:</p>
408
447
 
415
454
              <dt><strong>revenge</strong></dt>
416
455
 
417
456
              <dd>
418
 
                <p>Remember people who deop/kick/ban the bot, valid ops, or 
419
 
                friends and punish them? Users with the +f flag are exempt 
 
457
                <p>Remember people who deop/kick/ban the bot, valid ops, or
 
458
                friends and punish them? Users with the +f flag are exempt
420
459
                from revenge.</p>
421
460
              </dd>
422
461
 
423
462
              <dt><strong>revengebot</strong></dt>
424
463
 
425
464
              <dd>
426
 
                <p>This is similar to to the &#39;revenge&#39; option, but 
427
 
                it only triggers if a <strong>bot</strong> gets deopped, 
 
465
                <p>This is similar to to the &#39;revenge&#39; option, but
 
466
                it only triggers if a <strong>bot</strong> gets deopped,
428
467
                kicked or banned.</p>
429
468
              </dd>
430
469
 
455
494
              <dt><strong>dontkickops</strong></dt>
456
495
 
457
496
              <dd>
458
 
                <p>Do you want the bot not to be able to kick users who 
 
497
                <p>Do you want the bot not to be able to kick users who
459
498
                have the +o flag, letting them kick-flood for instance to
460
499
                protect the channel against clone attacks?</p>
461
500
              </dd>
463
502
              <dt><strong>inactive</strong></dt>
464
503
 
465
504
              <dd>
466
 
                <p>This prevents the bot from joining the channel (or makes 
467
 
                it leave the channel if it is already there). It can be 
468
 
                useful to make the bot leave a channel without loosing it&#39;s
469
 
                settings, channel-specific user flags, channel bans, and 
 
505
                <p>This prevents the bot from joining the channel (or makes
 
506
                it leave the channel if it is already there). It can be
 
507
                useful to make the bot leave a channel without losing it&#39;s
 
508
                settings, channel-specific user flags, channel bans, and
470
509
                without affecting sharing.</p>
471
510
              </dd>
472
511
 
481
520
 
482
521
              <dd>
483
522
                <p>Allow non-ops to perform channel modes? This can stop the
484
 
                bot from fighting with services such as ChanServ, or from 
485
 
                kicking IRCops when setting channel modes without having 
 
523
                bot from fighting with services such as ChanServ, or from
 
524
                kicking IRCops when setting channel modes without having
486
525
                ops.</p>
487
526
              </dd>
488
527
            </dl>
492
531
    </blockquote>
493
532
 
494
533
    <blockquote>
495
 
      <p>The following settings are used as default values when you .+chan 
 
534
      <p>The following settings are used as default values when you .+chan
496
535
      #chan or .tcl channel add #chan. Look in the section above for
497
536
      explanation of every option.</p>
498
537
 
499
 
      <p><strong><em>set global-flood-chan 10:60</em></strong><br>
500
 
      <strong><em>set global-flood-deop 3:10</em></strong><br>
501
 
      <strong><em>set global-flood-kick 3:10</em></strong><br>
502
 
      <strong><em>set global-flood-join 5:60</em></strong><br>
503
 
      <strong><em>set global-flood-ctcp 3:60</em></strong><br>
504
 
      <strong><em>set global-flood-nick 5:60</em></strong></p>
505
 
 
506
 
      <p><strong><em>set global-chanmode &quot;nt-likm&quot;</em></strong><br>
507
 
      <strong><em>set global-stopnethack-mode 0</em></strong><br>
508
 
      <strong><em>set global-revenge-mode 1</em></strong></p>
509
 
 
510
 
      <p><strong><em>set global-chanset {</em></strong></p>
 
538
      <p><strong>set global-flood-chan 10:60</strong><br>
 
539
      <strong>set global-flood-deop 3:10</strong><br>
 
540
      <strong>set global-flood-kick 3:10</strong><br>
 
541
      <strong>set global-flood-join 5:60</strong><br>
 
542
      <strong>set global-flood-ctcp 3:60</strong><br>
 
543
      <strong>set global-flood-nick 5:60</strong></p>
 
544
 
 
545
      <p><strong>set global-chanmode &quot;nt-likm&quot;</strong><br>
 
546
      <strong>set global-stopnethack-mode 0</strong><br>
 
547
      <strong>set global-revenge-mode 0</strong><br>
 
548
      <strong>set global-ban-time 120</strong><br>
 
549
      <strong>set global-exempt-time 60</strong><br>
 
550
      <strong>set global-invite-time 60</p>
 
551
 
 
552
      <p><strong>set global-chanset {</strong></p>
511
553
<pre>
512
 
  -nodesynch -enforcebans
513
 
  +dynamicbans +userbans
514
 
  -autoop -bitch
515
 
  +greet +protectops
516
 
  +statuslog -revenge
517
 
  -secret -autovoice
518
 
  +cycle +dontkickops
519
 
  -inactive -protectfriends
520
 
  +shared -seen
521
 
  +userexempts +dynamicexempts
522
 
  +userinvites +dynamicinvites
 
554
        -autoop         -autovoice
 
555
        -bitch          +cycle
 
556
        +dontkickops    +dynamicbans
 
557
        +dynamicexempts +dynamicinvites
 
558
        -enforcebans    +greet
 
559
        -inactive       -nodesynch
 
560
        -protectfriends +protectops
 
561
        -revenge        -revengebot
 
562
        -secret         -seen
 
563
        +shared         +statuslog
 
564
        +userbans       +userexempts
 
565
        +userinvites    +protecthalfops
 
566
        +autohalfop
523
567
</pre>
524
 
      <p><strong><em>}</em></strong></p>
525
 
    </blockquote>
526
 
    <hr>
527
 
 
528
 
    <p><a name="tclcmds"></a>2. <strong>Tcl commands</strong></p>
529
 
    
530
 
    <p>See doc/tcl-commands.doc for information on each of these 
531
 
    commands.</p>
532
 
 
533
 
    <blockquote>
534
 
      <ul>
535
 
        <li><strong>channel add &lt;name&gt; &lt;option-list&gt;</strong>
536
 
        </li>
537
 
 
538
 
        <li><strong>channel set &lt;name&gt; &lt;options&gt;</strong></li>
539
 
 
540
 
        <li><strong>channel info &lt;name&gt;</strong></li>
541
 
 
542
 
        <li><strong>channel remove &lt;name&gt;</strong></li>
543
 
 
544
 
        <li><strong>savechannels</strong></li>
545
 
 
546
 
        <li><strong>loadchannels</strong></li>
547
 
 
548
 
        <li><strong>channels</strong></li>
549
 
 
550
 
        <li><strong>validchan &lt;channel&gt;</strong></li>
551
 
 
552
 
        <li><strong>isdynamic &lt;channel&gt;</strong></li>
553
 
 
554
 
        <li><strong>newchanban &lt;channel&gt; &lt;ban&gt; &lt;creator&gt;
555
 
        &lt;comment&gt; [lifetime] [options]</strong></li>
556
 
 
557
 
        <li><strong>newban &lt;ban&gt; &lt;creator&gt; &lt;comment&gt;
558
 
        [lifetime] [options]</strong></li>
559
 
 
560
 
        <li><strong>killchanban &lt;channel&gt; &lt;ban&gt;</strong></li>
561
 
 
562
 
        <li><strong>killban &lt;ban&gt;</strong></li>
563
 
 
564
 
        <li><strong>isban &lt;ban&gt; [channel]</strong></li>
565
 
 
566
 
        <li><strong>ispermban &lt;ban&gt; [channel]</strong></li>
567
 
 
568
 
        <li><strong>matchban &lt;nick!user@host&gt; [channel]</strong></li>
569
 
 
570
 
        <li><strong>banlist [channel]</strong></li>
571
 
      
572
 
        <li><strong>newchanexempt &lt;channel&gt; &lt;exempt&gt;
573
 
        &lt;creator&gt; &lt;comment&gt; [lifetime] [options]</strong></li>
574
 
 
575
 
        <li><strong>newexempt &lt;exempt&gt; &lt;creator&gt; &lt;comment&gt;
576
 
        [lifetime] [options]</strong></li>
577
 
 
578
 
        <li><strong>killchanexempt &lt;channel&gt; &lt;exempt&gt;</strong>
579
 
        </li>
580
 
 
581
 
        <li><strong>killexempt &lt;exempt&gt;</strong></li>
582
 
 
583
 
        <li><strong>isexempt &lt;exempt&gt; [channel]</strong></li>
584
 
 
585
 
        <li><strong>ispermexempt &lt;exempt&gt; [channel]</strong></li>
586
 
 
587
 
        <li><strong>matchexempt &lt;nick!user@host&gt; [channel]</strong> </li>
588
 
 
589
 
        <li><strong>exemptlist [channel]</strong></li>
590
 
 
591
 
        <li><strong>newchaninvite &lt;channel&gt; &lt;invite&gt;
592
 
        &lt;creator&gt; &lt;comment&gt; [lifetime] [options]</strong></li>
593
 
 
594
 
        <li><strong>newinvite &lt;invite&gt; &lt;creator&gt; &lt;comment&gt;
595
 
        [lifetime] [options]</strong></li>
596
 
 
597
 
        <li><strong>killchaninvite &lt;channel&gt; &lt;invite&gt;</strong></li>
598
 
 
599
 
        <li><strong>killinvite &lt;invite&gt;</strong></li>
600
 
 
601
 
        <li><strong>isinvite &lt;invite&gt; [channel]</strong></li>
602
 
 
603
 
        <li><strong>isperminvite &lt;invite&gt; [channel]</strong></li>
604
 
 
605
 
        <li><strong>matchinvite &lt;nick!user@host&gt; [channel]</strong></li>
606
 
 
607
 
        <li><strong>invitelist [channel]</strong></li>
608
 
 
609
 
        <li><strong>setlaston &lt;handle&gt; [channel] [time]</strong></li>
610
 
 
611
 
        <li><strong>getchaninfo &lt;handle&gt; &lt;channel&gt;</strong></li>
612
 
 
613
 
        <li><strong>setchaninfo &lt;handle&gt; &lt;channel&gt;
614
 
        &lt;info&gt;</strong></li>
615
 
 
616
 
        <li><strong>addchanrec &lt;handle&gt; &lt;channel&gt;</strong></li>
617
 
 
618
 
        <li><strong>delchanrec &lt;handle&gt; &lt;channel&gt;</strong></li>
619
 
 
620
 
        <li><strong>stick &lt;banmask&gt; [channel]</strong></li>
621
 
 
622
 
        <li><strong>unstick &lt;banmask&gt; [channel]</strong></li>
623
 
 
624
 
        <li><strong>stickexempt &lt;exemptmask&gt; [channel]</strong></li>
625
 
 
626
 
        <li><strong>unstickexempt &lt;exemptmask&gt; [channel]</strong></li>
627
 
 
628
 
        <li><strong>stickinvite &lt;invitemask&gt; [channel]</strong></li>
629
 
 
630
 
        <li><strong>unstickinvite &lt;invitemask&gt; [channel]</strong></li>
631
 
 
632
 
        <li><strong>setudef &lt;flag/int&gt; &lt;name&gt;</strong></li>
633
 
 
634
 
        <li><strong>renudef &lt;flag/int&gt; &lt;oldname&gt; &lt;newname&gt;
635
 
        </strong></li>
636
 
 
637
 
        <li><strong>deludef &lt;flag/int&gt; &lt;name&gt;</strong></li>
638
 
 
639
 
        <li><strong>haschanrec &lt;handle&gt; &lt;channel&gt;</strong></li>
640
 
      </ul>
 
568
      <p><strong>}</strong></p>
641
569
    </blockquote>
642
570
    <hr>
643
571
 
644
572
    <p><em>Copyright &copy; 1997 Robey Pointer<br>
645
 
     Copyright &copy; 1999, 2000, 2001, 2002 <a href="http://www.eggheads.org/">
646
 
     Eggheads Development Team</a></em></p>
 
573
    Copyright &copy; 1999, 2000, 2001, 2002, 2003, 2004
 
574
    <a href="http://www.eggheads.org/"> Eggheads Development Team</a></em></p>
647
575
  </body>
648
576
</html>