This file is indexed.

/usr/share/eggdrop/help/cmds1.help is in eggdrop-data 1.6.20-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
%{help=+bot}%{+t}
###  %b+bot%b <handle> [address[:bot port[/user port]]] [host]
   Creates a user record for a new bot with the handle given. If no hostmask
   is specified, the bot will try to automatically add a host from the channel.
   The bot's address will be used in linking. If the bot has a separate port
   for bots and users they should be separated with a slash (/).

See also: -bot
%{help=+host}%{+t|m}
###  %b+host%b [handle] <hostmask>
   Adds a hostmask to a user's user record. Hostmasks are used to identify your
   handle on IRC. If a handle is not specified, the hostmask will be added to
   YOUR user record.

See also: -host
%{help=+ignore}%{+m}
###  %b+ignore%b <hostmask> [%%<XdXhXm>] [comment]
   Adds an ignore to the list of ignores stored on the bot, with optional
   comment and ignore time. This ignore is stored with your handle as the
   creator. Ignore time has to be expressed in days, hours, and/or minutes.

See also: -ignore, ignores
%{help=+user}%{+m}
###  %b+user%b <handle> [hostmask]
   Creates a new user record for the handle given. The new user record will
   have no flags, an optional hostmask, and no password.

See also: -user, +host, -host
%{help=-bot}%{+t}
###  %b-bot%b <bot>
   This is exactly the same as %b'.-user'%b (it removes a user record). It is
   included for convenience.

See also: +bot, +user, -user
%{help=-host}%{-}
###  %b-host%b <hostmask>
   Removes a host from your handle.
%{+m|m}

###  %b-host%b <handle> <hostmask>
   Removes a hostmask from a user's user record.
%{-}

See also: +host
%{help=-ignore}%{+m}
###  %b-ignore%b <hostmask/number>
   Removes the specified ignore from the list of ignores stored on the bot. You
   may also reference the ignore by the number shown by the 'ignores' command.

See also: +ignore, ignores
%{help=-user}%{+m}
###  %b-user%b <handle>
   Removes the specified handle's user record.

See also: +user, +bot, -bot
%{help=addlog}%{+to|o}
###  %baddlog%b <text>
   Adds your comment to the bot's logfile. Bot masters can go back later and
   review the log, and will see your comment (with your handle attached). This
   is useful for explaining confusing activity.
%{help=away}%{-}
###  %baway%b [away-message]
   Marks you as "away" on the party line. Your away message will show up in
   the %b'.who'%b list, and will be displayed to anyone who tries to send you
   a note. Your notes will be stored, and then displayed to you as soon as you
   are no longer away. Saying something on the party line will automatically
   remove your "away" status, or you can type %b'.back'%b or %b'.away'%b by
   itself.

See also: back
%{help=back}%{-}
###  %bback%b
   This marks you as no longer away on the party line.

See also: away
%{help=backup}%{+m|m}
###  %bbackup%b
   This makes the bot write a backup of its entire user list to the disk. If
   the channels module is loaded, this will also write a backup of the channels
   file. This is useful if you feel the need to backup the userfile and channel
   settings.

See also: reload, rehash, save
%{help=banner}%{+t}
###  %bbanner%b <text>
   Displays a message to everyone currently using the bot's party line or file
   area. This is useful for announcing that the bot will go down, etc.
%{help=binds}%{+m}
###  %bbinds%b [type/match] [all]
   Shows the Tcl bindings in effect, in a list similar to this:
      Command bindings:
        TYPE FLAGS    COMMAND              HITS BINDING (TCL)
        msg  -|-      rose                    0 msg_rose
        msg  -|-      go                      0 msg_go
        dcc  m|-      bind                    0 cmd_bind
        pub  -|-      gross                   0 pub_gross
   The fields should be self-explanatory, except for HITS, which records the
   number of times that binding has been called. If not, go read the file
   %b'doc/tcl-commands.doc'%b for help on the Tcl bind command. Note that the
   builtin commands are now shown. You may also specify a type of binding to
   show (i.e. %b'.binds msg'%b) or you can specify a wild card match (i.e.
   %b'.binds *seen*'%b) if you want to narrow the field a bit. The wild card
   matches will match against the TYPE, COMMAND and BINDING fields. You can
   view more binds by adding 'all' to the end of the command.

See also: tcl
%{help=boot}%{+t}
###  %bboot%b <handle[@bot]> [reason]
   Kicks a user off the party line and displays the reason, if you specify
   one. You can also specify a bot, and attempt to boot someone from another
   bot on the botnet, though it may be rejected if that bot does not allow
   remote boots. You can not boot a bot owner.
%{help=botattr}%{+t}
###  %bbotattr%b <handle> [flags] [channel]
   Lets you view and change the bot flags for a bot. For example, to set
   "Fred1" +share and -hub, you would do '.botattr Fred1 +s-h.'

   Whether or not you change any flags, it will show you the bot's flags
   afterwards. To get a list of the flags possible, see %b'.help whois'%b.

   %bNOTE:%b This command is NOT used to replace .chattr. It modifies bot flags,
         such as s, h, a, u, etc.
   %bNOTE:%b You can't use this command on bots which are directly linked to your
         bot at the current moment.

See also: whois, chattr
%{help=botinfo}%{-}
###  %bbotinfo%b
   Requests information from every bot currently on the botnet. Each bot should
   eventually send you one line containing its version, network setting,
   channels, and uptime.

See also: bottree, vbottree, bots
%{help=bots}%{-}
###  %bbots%b
   Shows the list of bots currently on the botnet.

   Example:
      Bots: cEvin, ruthie, Killa1

   There is no indication of which bots are directly connected to this current
   bot. Use %b'.who'%b%{+t} or %b'.bottree'%b%{-} for that information.

See also: bottree, vbottree, botinfo
%{help=bottree}%{-}
###  %bbottree%b
   Shows a tree-format diagram of the bots currently on the botnet. It's just a
   nice way to get a feel for how the bots are physically connected. If 2 bots
   are sharing, a + will be indicated, or a ? if nothing is known.

See also: bots, botinfo, vbottree
%{help=chaddr}%{+t}
###  %bchaddr%b <bot> <address[:bot port[/user port]]>
   Changes the address for a bot. This is the address your bot will try to
   connect to when linking. If the bot has a separate port for bots and users,
   they should be separated  by a slash (/).

See also: link, +bot
%{help=chat}%{-}
###  %bchat%b <on/off>
###  %bchat%b <[*]channel number/name>
   Changes your current channel on the partyline. When you first connect to
   the partyline, it places you on channel 0 (the main party line).

   Some channels may have assigned names if the assoc module is loaded. For
   these, you can specify the channel by name instead of channel number if
   you wish.

   %b'.chat off'%b removes you from all channels, including the main party line.
   You can still use bot commands and see the console, but you can't talk to
   anyone except via %b'.note'%b. %b'.chat on'%b returns you to the main party
   line (channel 0) if you were elsewhere.

   If you prefix the channel with a '*', you will join a local channel.

See also: console
%{help=chattr}%{+m|m}
###  %bchattr%b <handle> [flags] [channel]
   This lets you view and change the flags for a user.

   For example, to give Lamer the p and f flags:
      .chattr Lamer +pf

   To remove Denali from the global op list:
      .chattr Denali -o

   You may also do any combination of the above:
      .chattr Fred1 -m+xj-o

   You can also change the flags for Usagi on a specific channel by supplying
   the channel after the attributes:
      .chattr Usagi -m+dk-o #blah

   Changing global and channel specific flags within the same command line is
   also possible (global +f, +o #lamer):
      .chattr Bill f|o #lamer

   Whether or not you change any flags, it will show you the user's attributes
   afterwards. To get a list of all possible flags, see %b'.help whois'%b.

   %bNOTES:%b Only the owner may add or remove the 'n' (owner), 'm' (master) or
          't' (botnet master) flags. It is pointless to -n a permanent owner.
          You must remove the permanent owner in the config file.

See also: whois, botattr
%{help=chhandle}%{+t}
###  %bchhandle%b <oldhandle> <newhandle>
   Changes the handle of a user. For example, to change the handle of user
   'gavroche' to 'jamie', you would use 'chhandle gavroche jamie'.

See also: chpass
%{help=chpass}%{+t}
###  %bchpass%b <handle> [newpassword]
   Changes a user's password. If you do not specify the new password, the user
   effectively no longer has a password set. A password is needed to get ops,
   join the party line, etc.

   %bNOTE:%b In previous versions, setting a password to "nopass" would clear
         a user's password -- with encrypted passwords. This no longer works!

See also: chhandle
%{help=comment}%{+m}
###  %bcomment%b <user> <comment>
   Creates or changes the comment field for a user. The comment field can only
   be seen via 'whois' or 'match'. Non-masters cannot see the comment field.
%{help=console}%{+to|o}
###  %bconsole%b [channel] [modes]
   Changes your console level so that you will see only the types of console
   messages that you want to. Your current console channel is the channel (that
   the bot is on) from which you can view from the party line, and which
   channel-specific commands (like 'say' and 'op') take affect on.

   Valid flags are:
     %bj%b  joins, parts, quits, and netsplits on the channel
     %bk%b  kicks, bans, and mode changes on the channel
     %bm%b  private msgs, notices and ctcps to the bot
     %bp%b  public text on the channel
     %bs%b  server connects, disconnects, and notices

%{+m}
   Masters only:
     %bb%b  information about bot linking and userfile sharing
     %bd%b  misc debug information
     %bc%b  commands
     %bo%b  misc info, errors, etc (IMPORTANT STUFF)
     %bw%b  wallops (make sure the bot sets +w in init-server)
     %bx%b  file transfers and file-area commands

%{+n}
   Owners only (these have to be enabled in the config file via "set raw-log"):
     %bh%b  raw share traffic
     %br%b  raw incoming server traffic
     %bt%b  raw botnet traffic
     %bv%b  raw outgoing server traffic

   There are also 8 user-defined console modes ('1' through '8').

%{+o|o}
   The mode can also be a modifier like '+p' or '-jk' or '+mp-b'. If you omit
   the channel and modes, your current console channel and flags will be shown.

%{+m|m}
###  %bconsole%b <user> [channel] [modes]
   This is used to set the console level of another user. This can even be used
   on users who normally would not be able to set their own console mode.
%{help=dccstat}%{+m}
###  %bdccstat%b
   Displays a table-format list of all "dcc" connections in use on the bot.
   Dcc stands for "Direct Client-to-client Communication", and Eggdrop expands
   this to cover every open socket. Any type of network connection to the bot
   is considered a "dcc" connection.

   The headings of the table are:
     %bSOCK%b  the socket number of this connection (always unique)
     %bADDR%b  the ip address mask of the host the bot is connected to, if
           applicable
     %bPORT%b  the port number being used for this connection
     %bNICK%b  the handle of the user or bot, if applicable
     %bHOST%b  the hostname corresponding to the IP address, if available
     %bTYPE%b  the type of dcc connection (see below)

   The types of connections currently possible are as follows (but more are
   being added all the time):
     %bCHAT%b  dcc-chat partyline user
     %bPASS%b  user entering dcc chat (being asked for password)
     %bSEND%b  user sending a file
     %bGET%b   sending a file to a user
     %bGETP%b  pending get (waiting for the user to acknowledge)
     %bLSTN%b  telnet listening port (in place of a hostname, it will show the
           callback procedure name, or a mask of acceptable handles)
     %bT-IN%b  incoming telnet user (being asked for handle)
     %bFILE%b  user in dcc-chat file area
     %bBOT%b   connected bot (botnet connection)
     %bBOT*%b  pending bot link (waiting for acknowledgement)
     %bRELA%b  user in relay connection to another bot
     %b>RLY%b  bot being relay'd to (one for each "RELA")
     %bCONN%b  pending telnet connection (chat, relay, bot-link, etc)
     %bNEW%b   new user via telnet (entering a handle)
     %bNEWP%b  new user via telnet (entering a password)

   In addition, 'CHAT' and 'BOT' have flags listed for each connection. Capital
   letters mean that the flag is on, and lowercase letters mean that the flag
   is off. The flags for 'CHAT' are:
     %bC%b  in file area, but allowed to return to party line
     %bP%b  party line access only
     %bT%b  telnet connection (instead of dcc chat)
     %bE%b  echo is on
     %bP%b  paging is on

   The flags for 'BOT' are:
     %bP%b  ping sent, waiting for reply
     %bU%b  user-file sharing is active
     %bC%b  local bot initiated the connection
     %bO%b  user-file offered, waiting for reply
     %bS%b  in the process of sending the user-file
     %bG%b  in the process of getting the user-file
     %bW%b  warned this bot to stop hubbing
     %bL%b  leaf-only bot (not allowed to be a hub)
     %bI%b  bot is currently in the 'linking' stage
     %bA%b  bot is being aggressively shared with

   For 'CHAT' users, the party-line channel is also listed.
%{help=debug}%{+m}
###  %bdebug%b
   Display a dump of memory allocation information, assuming the bot was
   compiled with memory debugging. It's useless to anyone but developers
   trying to find memory leaks.
%{help=echo}%{-}
###  %becho%b <on/off>
   Specifies whether you want your messages echoed back to you. If it's on,
   then when you say something on the party line, it will be displayed to you
   just like everyone else will see it. If it's off, then it won't happen.
%{help=die}%{+n}
###  %bdie%b [reason]
   This kills the bot. The bot goes offline immediately, logging who issued
   the 'die' command. You shouldn't have to use this too often. If you specify
   a reason, it is logged, otherwise the reason is "authorized by <handle>".