help.txt 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071
  1. ::+ban
  2. ### %b+ban%b <hostmask> [channel] [%%<XdXhXm>] [comment]
  3. Adds a ban to the list of bans stored on the bot, with optional comment and
  4. ban time. This ban is stored with your handle as the creator, and will be
  5. in effect for every channel if no channel is specified. Prefixing a comment
  6. with '@' will make it only visible within the bot, and not used as the ban
  7. reason. Ban time has to be expressed in days, hours, and/or minutes.
  8. See also: bans, -ban, stick, unstick
  9. ::+chan
  10. ### %b+chan%b <channel> [options]
  11. Adds a channel to the bot's channel list. If options are specified, the
  12. channel will be configured with the options.
  13. See also: -chan, chanset, chaninfo
  14. ::+chrec
  15. ### %b+chrec%b <handle> [channel]
  16. Adds an empty channel record for the specified user so that channel lastons
  17. and info lines can be saved. No flags are associated with the channel.
  18. See also: -chrec, chattr%{+n}, +chan, -chan
  19. ::+exempt
  20. ### %b+exempt%b <hostmask> [channel] [%%<XdXhXm>] [comment]
  21. Adds an exempt to the list of exempts stored on the bot, with optional
  22. comment and exempt time. This exempt is stored with your handle as the
  23. creator, and will be in effect for every channel if no channel is specified.
  24. Exempt time has to be expressed in days, hours, and/or minutes.
  25. See also: exempts, -exempt, stick, unstick
  26. ::+host
  27. ### %b+host%b [handle] <hostmask>
  28. Adds a hostmask to a user's user record. Hostmasks are used to identify your
  29. handle on IRC. If a handle is not specified, the hostmask will be added to
  30. YOUR user record.
  31. See also: -host
  32. ::+ignore
  33. ### %b+ignore%b <hostmask> [%%<XdXhXm>] [comment]
  34. Adds an ignore to the list of ignores stored on the bot, with optional
  35. comment and ignore time. This ignore is stored with your handle as the
  36. creator. Ignore time has to be expressed in days, hours, and/or minutes.
  37. See also: -ignore, ignores
  38. ::+invite
  39. ### %b+invite%b <hostmask> [channel] [%%<XdXhXm>] [comment]
  40. Adds an invite to the list of invites stored on the bot, with optional
  41. comment and invite time. This invite is stored with your handle as the
  42. creator, and will be in effect for every channel if no channel is specified.
  43. Invite time has to be expressed in days, hours, and/or minutes.
  44. See also: invites, -invite, stick, unstick
  45. ::+noteign
  46. ### %b+noteign%b%{+m} [user]%{-} <ignoremask>
  47. Add a new ignore to the user's note ignore list.
  48. See also: -noteign noteigns
  49. ::+user
  50. ### %b+user%b <handle> [hostmask]
  51. Creates a new user record for the handle given. The new user record will
  52. have no flags, an optional hostmask, and a random pass/secpass.
  53. See also: -user, +host, -host%(hub)%{+n}, newleaf
  54. ::-ban
  55. ### %b-ban%b <banmask or number> [channel]
  56. Removes the specified ban from the list of bans stored on the bot. You may
  57. also reference the ban by the number shown by the 'bans' command.
  58. See also: bans, +ban, stick, unstick
  59. :hub:-bot
  60. ### %b-bot%b <bot>
  61. This is exactly the same as %b'%d-user'%b (it removes a user record). It is
  62. included for convenience.
  63. See also: +user, -user%{+n}, newleaf
  64. ::-chan
  65. ### %b-chan%b <channel>
  66. This removes ALL information about a channel from the bot.
  67. %f*** IMPORTANT ***%f
  68. This erases ALL information about the channel, including channel settings,
  69. bans, exempts, invites, and channel records for users -- %bEVERYTHING%b.
  70. %bDO NOT%b use it to have the bot temporarily leave a channel. This
  71. command is for abandoning a channel (e.g. the channel will have to be
  72. redefined and all user flags for that channel will have to be redone.
  73. If you want to do this try '%dcycle' or '%ddown'
  74. See also: +chan, chanset, chaninfo, cycle, down
  75. ::-chrec
  76. ### %b-chrec%b <handle> [channel]
  77. Removes a channel record for the specified user, including channel lastons,
  78. info lines, and flags.
  79. See also: +chrec, chattr
  80. ::-exempt
  81. Removes the specified exempt from the list of exempts stored on the bot. You
  82. may also reference the exempt by the number shown by the 'exempts' command.
  83. See also: exempts, +exempt, stick, unstick
  84. ::-host
  85. ### %b-host%b <hostmask>
  86. Removes a host from your handle.
  87. %{+m|m}
  88. ### %b-host%b <handle> <hostmask>
  89. Removes a hostmask from a user's user record.
  90. %{-}
  91. See also: +host
  92. ::-ignore
  93. ### %b-ignore%b <hostmask/number>
  94. Removes the specified ignore from the list of ignores stored on the bot. You
  95. may also reference the ignore by the number shown by the 'ignores' command.
  96. See also: +ignore, ignores
  97. ::-invite
  98. ### %b-invite%b <hostmask or number>
  99. Removes the specified invite from the list of invites stored on the bot. You
  100. may also reference the invite by the number shown by the 'invites' command.
  101. See also: invites, +invite, stick, unstick
  102. ::-noteign
  103. ### %b-noteign%b%{+m} [user]%{-} <ignoremask>
  104. Remove an existing ignore from the user's note ignore list.
  105. See also: +noteign noteigns
  106. ::-user
  107. ### %b-user%b <handle>
  108. Removes the specified handle's user record.
  109. See also: +user%(hub)%{+a}, -bot%{+n}, newleaf
  110. :leaf:act
  111. ### %bact%b [channel] <text>
  112. Performs an action on the current console channel (or otherwise
  113. specified channel), as if the bot did it. Just like the /me
  114. command in IRC.
  115. See also: console
  116. ::addlog
  117. ### %baddlog%b <text>
  118. Adds your comment to the bot's logfile. Bot masters can go back later and
  119. review the log, and will see your comment (with your handle attached). This
  120. is useful for explaining confusing activity.
  121. :leaf:adduser
  122. ### %badduser%b [!]<nickname> [handle]
  123. Creates a new user record for a user on the channel, using their
  124. current hostname. It's similar to a user msg'ing the bot 'hello'
  125. except that no information is sent to that user. If the bot
  126. already knows someone by that nickname, and the user on the channel
  127. doesn't have a bot record, then it does the equivalent of an
  128. 'ident' for that user -- except that, again, no information is
  129. sent to the user telling them that anything was done.
  130. If the user is using a different nickname than the bot normally
  131. knows her by, you can specify her "handle" (the nickname that the
  132. bot remembers).
  133. If you want to add a user using a static hostmask, prefix their nick
  134. with a '!'. i.e. .adduser !Lamer
  135. See also: +host, -host%{+m}, +user, -user%{-}
  136. ::away
  137. ### %baway%b [reason]
  138. Marks you as "away" on the party line. Your away message will show up in
  139. the %b'%dwho'%b list, and will be displayed to anyone who tries to send you
  140. a note. Your notes will be stored, and then displayed to you as soon as you
  141. are no longer away. Saying something on the party line will automatically
  142. remove your "away" status, or you can type %b'%dback'%b or %b'%daway'%b by
  143. itself.
  144. See also: back
  145. ::back
  146. ### %bback%b
  147. This marks you as no longer away on the party line.
  148. See also: away
  149. :hub:backup
  150. ### %bbackup%b
  151. This makes the bot write a backup of its entire user list to the disk.
  152. This is useful if you feel the need to backup the userfile and channel
  153. settings.
  154. See also: reload, save
  155. ::bans
  156. ### %bbans%b [[channel/all]/wildcard]
  157. Shows you a list of the global bans active on the current channel, and the
  158. list of channel-specific bans, as well as any bans that are on the channel
  159. but weren't placed by the bot.
  160. Here's a sample entry;
  161. [ 5] *!*habib@*frys.com (perm)
  162. paulie: revolving check policy
  163. Created 15:10
  164. The number (5) can be used to reference the ban if you wish to remove it
  165. (see %b'-ban'%b). Next is the actual hostmask being banned. The "(perm)"
  166. means that the ban is "permanent": that is, it doesn't automatically expire.
  167. If there is an elapsed time showing instead, the time displayed is how long
  168. the ban has been active. These types of bans expire after two hours. The
  169. second line of the ban entry is the comment ("revolving check policy"), and
  170. who set the ban (paulie). The last line shows when the ban was added, and
  171. possibly the last time the ban was activated on the channel (if it's
  172. different from the creation time).
  173. Sometimes there will be a "!" or "*" right before the number. A "!" means
  174. the ban is in the bot's ban list, but is not currently on the channel. A "*"
  175. marks a ban which is NOT in the bot's ban list but IS on the channel.
  176. If you use 'bans' without an argument, it will show you only the bans which
  177. are currently active on the channel. If you use 'bans all', it will show you
  178. every ban in the global ban list and on the channel. If you use 'bans
  179. <wildcard>', it will list all bans (active or not) that match against your
  180. wildcard. Consider it a 'bans all' list matched against your wildcard.
  181. The ban list may change according to which channel you're currently viewing
  182. in the console. Different bans may be active on different channels. If you
  183. specify a channel name, that channel will be used instead of your current
  184. console channel.
  185. See also: -ban, +ban, console%{+m|m}, chanset, chaninfo%{-}, stick, unstick
  186. :hub:binds
  187. ### %bbinds%b [type/match] [all]
  188. Shows the Tcl bindings in effect, in a list similar to this:
  189. Command bindings:
  190. TYPE FLGS COMMAND HITS BINDING (TCL)
  191. msg -|- rose 0 msg_rose
  192. msg -|- go 0 msg_go
  193. dcc m|- bind 0 cmd_bind
  194. pub -|- gross 0 pub_gross
  195. The fields should be self-explanatory, except for HITS, which records the
  196. number of times that binding has been called. If not, go read the file
  197. %b'doc/tcl-commands.doc'%b for help on the Tcl bind command. Note that the
  198. builtin commands are now shown. You may also specify a type of binding to
  199. show (i.e. %b'%dbinds msg'%b) or you can specify a wild card match (i.e.
  200. %b'%dbinds *seen*'%b) if you want to narrow the field a bit. The wild card
  201. matches will match against the TYPE, COMMAND and BINDING fields. You can
  202. view more binds by adding 'all' to the end of the command.
  203. See also: tcl
  204. :hub:boot
  205. ### %bboot%b <handle[@bot]> [reason]
  206. Kicks a user off the party line and displays the reason, if you specify
  207. one. You can also specify a bot, and attempt to boot someone from another
  208. bot on the botnet, though it may be rejected if that bot does not allow
  209. remote boots. You can not boot a bot owner.
  210. :hub:botinfo
  211. ### %bbotinfo%b
  212. Requests information from every bot currently on the botnet. Each bot should
  213. eventually send you one line containing its version, network setting,
  214. channels, and uptime.
  215. See also: %{+n}bottree, vbottree%{+m}, bots
  216. :hub:bots
  217. ### %bbots%b
  218. Shows the list of bots currently on the botnet.
  219. Example:
  220. Bots: cEvin, ruthie, Killa1
  221. There is no indication of which bots are directly connected to this current
  222. bot. %{+n}Use %b'%dwho'%b or %b'%dbottree'%b for that information.%{-}
  223. See also: downbots%{+n}, bottree, vbottree%{-}, botinfo
  224. :hub:bottree
  225. ### %bbottree%b
  226. Shows a tree-format diagram of the bots currently on the botnet. It's just a
  227. nice way to get a feel for how the bots are physically connected. If 2 bots
  228. are sharing, a + will be indicated, or a ? if nothing is known.
  229. See also: bots, downbots, botinfo, vbottree
  230. :hub:chaddr
  231. ### %bchaddr%b <bot> <address[:bot port[/user port]]>
  232. Changes the address for a bot. This is the address your bot will try to
  233. connect to when linking. If the bot has a separate port for bots and users,
  234. they should be separated by a slash (/).
  235. %{+a}
  236. It is not recommneded that this is used, you should change your source,
  237. and update all bots instead.
  238. %{-}
  239. See also: link
  240. :leaf:channel
  241. ### %bchannel%b [channel-name]
  242. Shows you an extensive display of the users on a channel, and
  243. the current channel attributes. By default, it shows you the
  244. channel you are currently viewing on the console, but you can
  245. specify another channel if you wish.
  246. The first line will look like:
  247. Channel #hiya, 8 members, 45 users, mode +tn:
  248. This means that the bot is sitting on channel #hiya, where 8
  249. other irc'ers are. There are 45 people that the bot knows by
  250. hostmask, and the channel mode is +tn. If the bot isn't on
  251. the channel it is supposed to be on, it will say "Desiring
  252. channel #hiya" instead. Next is a list of the users on the
  253. channel, with each entry looking like this:
  254. NICKNAME HANDLE JOIN HOPS IDLE USER@HOST
  255. @kantSF kantSF 14:53 o 2 6m josh@random.edu
  256. The "@kantSF" means that the user's nickname is kantSF and that
  257. he is a chanop. The second "kantSF" is the nickname that the
  258. bot knows him by. Sometimes this will differ from the nickname
  259. a person is using. The time displayed is the time the user
  260. joined the channel. The next field is the attributes:
  261. n - bot owner o - can get ops (+o)
  262. m - bot master or owner f - channel friend
  263. b - another bot d - cannot get ops (+d)
  264. The last field is the user@host he is using irc from.
  265. See also: status, whois
  266. ::chanset
  267. ### %bchanset%b <channel> <settings>
  268. Allows you to change the channel settings (see %b'chaninfo'%b for the
  269. settings) for one specific channel or all channels. Use '*' to to apply the
  270. change to all channels.
  271. Changes are used until the next restart, and are saved
  272. whenever the userfile is saved.
  273. See also: %{+n}+chan, -chan%{-}, chaninfo
  274. ::chat
  275. ### %bchat%b <on/off>
  276. ### %bchat%b <[*]channel number/name>
  277. Changes your current channel on the partyline. When you first connect to
  278. the partyline, it places you on channel 0 (the main party line).
  279. Some channels may have assigned names if the assoc module is loaded. For
  280. these, you can specify the channel by name instead of channel number if
  281. you wish.
  282. %b'%dchat off'%b removes you from all channels, including the main party line.
  283. You can still use bot commands and see the console, but you can't talk to
  284. anyone except via %b'%dnote'%b. %b'%dchat on'%b returns you to the main party
  285. line (channel 0) if you were elsewhere.
  286. If you prefix the channel with a '*', you will join a local channel.
  287. See also: console
  288. ::chattr
  289. ### %bchattr%b <handle> [flags] [channel]
  290. This lets you view and change the flags for a user.
  291. For example, to give Lamer the p and f flags:
  292. .chattr Lamer +pf
  293. To remove Denali from the global op list:
  294. .chattr Denali -o
  295. You may also do any combination of the above:
  296. .chattr Fred1 -m+xj-o
  297. You can also change the flags for Usagi on a specific channel by supplying
  298. the channel after the attributes:
  299. .chattr Usagi -m+dk-o #blah
  300. Changing global and channel specific flags within the same command line is
  301. also possible (global +f, +o #lamer):
  302. .chattr Bill f|o #lamer
  303. Whether or not you change any flags, it will show you the user's attributes
  304. afterwards. To get a list of all possible flags, see %b'%dhelp whois'%b.
  305. %bNOTES:%b Only the owner may add or remove the 'a' (admin) or 'n' (owner) flags.
  306. It is pointless to -a a permanent owner.
  307. You must remove the permanent owner in the binary.
  308. See also: whois
  309. :hub:chhandle
  310. ### %bchhandle%b <oldhandle> <newhandle>
  311. Changes the handle of a user. For example, to change the handle of user
  312. 'gavroche' to 'jamie', you would use 'chhandle gavroche jamie'.
  313. See also: chpass%{+n}, chsecpass
  314. ::chinfo
  315. ### %bchinfo%b <user> [channel] [info-line/none]
  316. Sets the information line for a user. This line is shown via the /msg
  317. commands %b'who'%b and %b'whois'%b. If you have set greet on, it is also
  318. shown when the user joins the channel. If the info line begins with an '@',
  319. then it is "locked", and that user may no longer change it. If the channel
  320. name is omitted, the default info line is changed. If you specify 'none'
  321. as the info-line, it will be erased.
  322. See also: info
  323. :hub:chnick
  324. See: chhandle
  325. :hub:chpass
  326. ### %bchpass%b <handle> [newpassword|rand]
  327. Changes a user's password. If you do not specify the new password, the user
  328. effectively no longer has a password set. A password is needed to get ops,
  329. join the party line, etc. If the newpassword is 'rand', a random password
  330. will be used.
  331. See also: chhandle%{+n}, chsecpass
  332. :hub:chsecpass:
  333. ### %bchsecpass%b <handle> [newpassword|rand]
  334. Changes a user's secpass. If you do not specify the new password, the user
  335. effectively no longer has a password set. A secpass is needed to auth and
  336. login via DCC chat. If the newpassword is 'rand', a random password
  337. will be used.
  338. See also: chhandle, chpass
  339. :leaf:clearqueue
  340. ### %bclearqueue%b <queue>
  341. removes all msgs from the specified queue (mode/server/help/all)
  342. ::comment
  343. ### %bcomment%b <user> <comment>
  344. Creates or changes the comment field for a user. The comment field can only
  345. be seen via 'whois' or 'match'. Non-masters cannot see the comment field.
  346. Using the comment 'none' will clear a user's comment.
  347. ::console:
  348. ### %bconsole%b [channel] [modes]
  349. Changes your console level so that you will see only the types of console
  350. messages that you want to. Your current console channel is the channel (that
  351. the bot is on) from which you can view from the party line, and which
  352. channel-specific commands (like 'say' and 'op') take affect on.
  353. Valid flags are:
  354. %bj%b joins, parts, quits, and netsplits on the channel
  355. %bk%b kicks, bans, and mode changes on the channel
  356. %bm%b private msgs, notices and ctcps to the bot
  357. %bp%b public text on the channel
  358. %bs%b server connects, disconnects, and notices
  359. %{+m}
  360. Masters only:
  361. %bb%b information about bot linking and userfile sharing
  362. %bd%b misc debug information
  363. %bc%b commands
  364. %bo%b misc info, etc (IMPORTANT STUFF)
  365. %bw%b wallops
  366. %{+n}
  367. Owners only (these have to be enabled in the config file via "set raw-log"):
  368. %be%b errors
  369. %bg%b (getin) botnet op/invite/key requests
  370. %bh%b raw share traffic
  371. %br%b raw incoming server traffic
  372. %bt%b raw botnet traffic
  373. %bu%b warnings
  374. %bv%b raw outgoing server traffic
  375. %{+o|o}
  376. The mode can also be a modifier like '+p' or '-jk' or '+mp-b'. If you omit
  377. the channel and modes, your current console channel and flags will be shown.
  378. %{+m|m}
  379. ### %bconsole%b <user> [channel] [modes]
  380. This is used to set the console level of another user. This can even be used
  381. on users who normally would not be able to set their own console mode.
  382. ::cycle:
  383. ### %bcycle%b <channel> [delay]
  384. Makes all linked bots cycle the specified channel. Delay defaults to 10
  385. seconds, which means bots will part and not rejoin for that time.
  386. See also: down
  387. ::date
  388. ### %bdate%b
  389. Displays the time/date in local and GMT. Also displays which time zone
  390. is being used by the bot for internal logging.
  391. :hub:dccstat
  392. ### %bdccstat%b
  393. Displays a table-format list of all "dcc" connections in use on the bot.
  394. Dcc stands for "Direct Client-to-client Communication", and Eggdrop expands
  395. this to cover every open socket. Any type of network connection to the bot
  396. is considered a "dcc" connection.
  397. The headings of the table are:
  398. %bSOCK%b the socket number of this connection (always unique)
  399. %bADDR%b the ip address mask of the host the bot is connected to, if
  400. applicable
  401. %bPORT%b the port number being used for this connection
  402. %bNICK%b the handle of the user or bot, if applicable
  403. %bHOST%b the hostname corresponding to the IP address, if available
  404. %bTYPE%b the type of dcc connection (see below)
  405. The types of connections currently possible are as follows (but more are
  406. being added all the time):
  407. %bCHAT%b dcc-chat partyline user
  408. %bPASS%b user entering dcc chat (being asked for password)
  409. %bSEND%b user sending a file
  410. %bGET%b sending a file to a user
  411. %bGETP%b pending get (waiting for the user to acknowledge)
  412. %bLSTN%b telnet listening port (in place of a hostname, it will show the
  413. callback procedure name, or a mask of acceptable handles)
  414. %bT-IN%b incoming telnet user (being asked for handle)
  415. %bFILE%b user in dcc-chat file area
  416. %bBOT%b connected bot (botnet connection)
  417. %bBOT*%b pending bot link (waiting for acknowledgement)
  418. %bRELA%b user in relay connection to another bot
  419. %b>RLY%b bot being relay'd to (one for each "RELA")
  420. %bCONN%b pending telnet connection (chat, relay, bot-link, etc)
  421. %bNEW%b new user via telnet (entering a handle)
  422. %bNEWP%b new user via telnet (entering a password)
  423. In addition, 'CHAT' and 'BOT' have flags listed for each connection. Capital
  424. letters mean that the flag is on, and lowercase letters mean that the flag
  425. is off. The flags for 'CHAT' are:
  426. %bC%b in file area, but allowed to return to party line
  427. %bP%b party line access only
  428. %bT%b telnet connection (instead of dcc chat)
  429. %bE%b echo is on
  430. %bP%b paging is on
  431. %b6%b socket is ipv6
  432. The flags for 'BOT' are:
  433. %bP%b ping sent, waiting for reply
  434. %bU%b user-file sharing is active
  435. %bC%b local bot initiated the connection
  436. %bO%b user-file offered, waiting for reply
  437. %bS%b in the process of sending the user-file
  438. %bG%b in the process of getting the user-file
  439. %bW%b warned this bot to stop hubbing
  440. %bL%b leaf-only bot (not allowed to be a hub)
  441. %bI%b bot is currently in the 'linking' stage
  442. %bA%b bot is being aggressively shared with
  443. For 'CHAT' users, the party-line channel is also listed.
  444. ::debug
  445. ### %bdebug%b
  446. Display a dump of memory allocation information, assuming the bot was
  447. compiled with memory debugging. It's useless to anyone but developers
  448. trying to find memory leaks.
  449. :leaf:deluser
  450. ### %bdeluser%b <nickname>
  451. deletes a user record for a user on the channel, using their
  452. current hostname. Channel masters can remove users so long as
  453. the user isn't a bot master.
  454. see also: adduser%{+m}, +user, -user%{-}
  455. :leaf:deop
  456. ### %bdeop%b <nickname> [channel|*]
  457. will remove chanop from the person you specify, so long as the
  458. bot is opped on that channel, and the person you specify isn't
  459. on the bot's list of authorized chanops. Specify * for all
  460. channels.
  461. See also: op, console
  462. :leaf:devoice
  463. ### %bdevoice%b <nickname> [channel|*]
  464. will remove the +v voice from the person you specify, so long as
  465. the bot is opped on that channel. Specify * for all channels.
  466. ::die
  467. ### %bdie%b [reason]
  468. This kills the bot. The bot goes offline immediately, logging who issued
  469. the 'die' command. You shouldn't have to use this too often. If you specify
  470. a reason, it is logged, otherwise the reason is "authorized by <handle>".
  471. ::down:
  472. ### %bdown%b <channel>
  473. All linked bots will deop themselves in the specified channel. They
  474. will not reop for 10 seconds.
  475. See also: cycle
  476. :hub:downbots
  477. ### %bdownbots%b
  478. Shows the list of bots that are NOT currently linked to the botnet.
  479. Example:
  480. Down bots: cEvin, ruthie, Killa1
  481. See also: bots
  482. :leaf:dump
  483. ### %bdump%b <text>
  484. dumps the text to the server. keep in mind that this bot doesn't
  485. run through ircII, so ircII commands will most likely not work this
  486. way. they need to be raw irc codes. read rfc1459 from ftp.internic.net
  487. for more help.
  488. ::echo
  489. ### %becho%b <on/off>
  490. Specifies whether you want your messages echoed back to you. If it's on,
  491. then when you say something on the party line, it will be displayed to you
  492. just like everyone else will see it. If it's off, then it won't happen.
  493. See also: color
  494. ::exempts
  495. ### %bexempts%b [[channel/all]/wildcard]
  496. Shows you a list of the global exempts active on the current channel, and
  497. the list of channel-specific exempts, as well as any exempts that are on the
  498. channel but weren't placed by the bot.
  499. Here's a sample entry;
  500. ! [ 3] *!test@test.com (perm)
  501. Wcc: requested
  502. Created 01:15
  503. The number (3) can be used to reference the exempt if you wish to remove it
  504. (see %b'-exempt'%b). Next is the actual hostmask being exempted. The "(perm)"
  505. means that the exempt is "permanent": that is, it doesn't automatically
  506. expire. If there is an elapsed time showing instead, the time displayed is
  507. how long the exempt has been active. These types of exempts expire after one
  508. hour. The second line of the exempt entry is the comment ("requested"), and
  509. who set the exempt (Wcc). The last line shows when the exempt was added, and
  510. possibly the last time the exempt was activated on the channel (if it's
  511. different from the creation time).
  512. Sometimes there will be a "!" or "*" right before the number. A "!" means
  513. the exempt is in the bot's exempt list, but is not currently on the channel.
  514. A "*" marks an exempt which is NOT in the bot's exempt list but IS on the
  515. channel.
  516. If you use 'exempts' without an argument, it will show you only the exempts
  517. which are currently active on the channel. If you use 'exempts all', it will
  518. show you every exempt in the global exempt list and on the channel. If you
  519. use 'exempts <wildcard>', it will list all exempts (active or not) that
  520. match against your wildcard. Consider it a 'exempts all' list matched
  521. against your wildcard.
  522. The exempt list may change according to which channel you're currently
  523. viewing in the console. Different exempts may be active on different
  524. channels. If you specify a channel name, that channel will be used instead
  525. of your current console channel.
  526. See also: -exempt, +exempt, console%{+m|m}, chanset, chaninfo%{-}, stick, unstick
  527. ::fixcodes
  528. ### %bfixcodes%b
  529. This is for use in situations where the bot gets mixed up about the type
  530. of connection you have with it. For example, you /CTCP CHAT the bot and
  531. it thinks you are connecting via telnet, and you see text displayed as
  532. "Local time is now 17:17" for example instead of "Local time is
  533. now 17:17". Use this to turn telnet codes on or off/change the display
  534. mode.
  535. ::fwd
  536. ### %bfwd%b <handle> [desto]
  537. This allows you to set a note forwarding address for a user,
  538. this means if a note needs to be stored for the user, the
  539. bot will attempt to pass it on to the given user@bot, if
  540. the bot is not online then the note is still stored locally,
  541. if the other user doesn't exist, the note is lost. Boohoo.
  542. ::handle
  543. ### %bhandle%b <new-handle>
  544. Changes your handle on the bot. This is the handle (nickname) that the
  545. bot will know you as from this point forward. It is used to log into the
  546. bot.
  547. See also: newpass%{+m}, %(hub)chhand, chpass%{+n}, chsecpass
  548. ::ignores
  549. ### %bignores%b [wildcard]
  550. Shows a list of hostmasks from which the bot is currently ignoring msgs,
  551. notices, etc. There are two types of ignores: permanent and temporary.
  552. Permanent ignores never automatically expire. You must use %b'%d-ignore'%b
  553. to remove them.
  554. Here is a sample permanent ignore:
  555. [ 1] *!*@217.156.44.184 (perm)
  556. Wcc: go away
  557. Started 523 days ago
  558. The number (1) can be used to reference the ignore if you wish to remove it
  559. (see %b'%dhelp -ignore'%b). Next is the actual hostmask being ignored. The
  560. "(perm)" means that the ignore is "permanent": that is, it doesn't
  561. automatically expire. The second line of the ignore entry is the comment
  562. ("go away"), and who set the ban (Wcc). The last line shows when the ignore
  563. was added.
  564. Here is a sample temporary ignore:
  565. [ 10] blah!blah@blah.cc (expires in 1 day)
  566. Wcc: requested
  567. Started 18:02
  568. Here, you see the "perm" in the parentheses next to the hostmask is instead
  569. an expire time. This means that the ignore will expire automatically in one
  570. day.
  571. If you use %b'%dignores <wildcard>'%b, it will list all the ignores
  572. that match against your wildcard.
  573. See also: +ignore, -ignore
  574. ::info
  575. ### %binfo%b [channel] [info-line]
  576. Sets your info line. This line is shown via the /msg commands %b'who'%b and
  577. %b'whois'%b. If you have set greet on, it is also shown when you joins the
  578. channel. If the info line begins with an '@', then it is "locked", and tou
  579. may no longer change it.
  580. %{+m|m}See also: chinfo%{-}
  581. :leaf:invite
  582. ### %binvite%b <nickname> [channel|*]
  583. invites someone from irc into your current console channel (or
  584. specified other channel). This is most useful when the channel
  585. is +i. a user with the +o flag can also request an invite from
  586. the bot with /MSG INVITE. Specify * for all channels.
  587. See also: console
  588. ::invites
  589. ### %binvites%b [[channel/all]/wildcard]
  590. Shows you a list of the global invites active on the current channel, and
  591. the list of channel-specific invites, as well as any invites that are on the
  592. channel but weren't placed by the bot.
  593. Here's a sample entry;
  594. ! [ 3] *!test@test.com (perm)
  595. Wcc: requested
  596. Created 01:15
  597. The number (3) can be used to reference the invite if you wish to remove it
  598. (see %b'-invite'%b). Next is the actual hostmask being invited. The "(perm)"
  599. means that the invite is "permanent": that is, it doesn't automatically
  600. expire. If there is an elapsed time showing instead, the time displayed is
  601. how long the invite has been active. These types of invites expire after one
  602. hour. The second line of the invite entry is the comment ("requested"), and
  603. who set the invite (Wcc). The last line shows when the invite was added, and
  604. possibly the last time the invite was activated on the channel (if it's
  605. different from the creation time).
  606. Sometimes there will be a "!" or "*" right before the number. A "!" means
  607. the invite is in the bot's invite list, but is not currently on the channel.
  608. A "*" marks an invite which is NOT in the bot's invite list but IS on the
  609. channel.
  610. If you use 'invites' without an argument, it will show you only the invites
  611. which are currently active on the channel. If you use 'invites all', it will
  612. show you every invite in the global invite list and on the channel. If you
  613. use 'invites <wildcard>', it will list all invites (active or not) that
  614. match against your wildcard. Consider it a 'invites all' list matched
  615. against your wildcard.
  616. The invite list may change according to which channel you're currently
  617. viewing in the console. Different invites may be active on different
  618. channels. If you specify a channel name, that channel will be used instead
  619. of your current console channel.
  620. See also: -invite, +invite, console%{+m|m}, chanset, chaninfo%{-}, stick, unstick
  621. :leaf:jump
  622. ### %bjump%b [server [port [pass]]]
  623. makes the bot jump to another server. if you don't specify a
  624. server, it will jump to the next server in its internal list (see
  625. %b'help config'%b). if you specify a server, it will jump to that
  626. server (default port is 6667), and if that server is not in the
  627. internal list already, it will add it (until the bot relinks).
  628. Jumping servers ALWAYS makes the bot lose ops! be careful!
  629. :leaf:kick
  630. ### %bkick%b [channel|*] <nickname> [reason]
  631. will kick a user off your current console channel (or specified
  632. other channel) with the comment given. if you omit the reason,
  633. the default kick comment is "requested". Specify * for all
  634. channels.
  635. See also: kickban, console
  636. :leaf:kickban
  637. ### %bkickban%b [channel|*] [-|@]<nickname> [comment]
  638. kicks a user off the channel and bans her by a reasonable host-
  639. mask. your nickname will be attached to the ban in the bot's
  640. internal ban list, and the ban will last for whatever is set in
  641. ban-time -- only on this channel. use %b'%d+ban'%b for a more
  642. permanent ban which will be activated on every channel the bot
  643. monitors. if you use a comment, that will also be attached to
  644. the ban in the ban list, and used as the kick comment. Specify
  645. * for all channels.
  646. appending a prefix of ! or @ to a nickname changes the ban
  647. mask used:
  648. e.g. with a host of nick!ident@host.name.domain
  649. command banmask
  650. .kickban nick *!*dent@*.name.domain
  651. .kickban -nick *!*dent@host.name.domain
  652. .kickban @nick *!*@host.name.domain
  653. with a host of nick!~ident@host.name.domain (strict-host set to 1)
  654. command banmask
  655. .kickban nick *!*ident@*.name.domain
  656. .kickban -nick *!*ident@host.name.domain
  657. See also: +ban, bans, stick
  658. :hub:link
  659. ### %blink%b [via-bot] <bot-to-link>
  660. Attempts to link to another hub. This command is deprecated and not
  661. recommended for use.
  662. See also: unlink, newleaf%{+a}, -bot
  663. ::match
  664. ### %bmatch%b <attr> [channel] [[start] limit]
  665. This displays all user records with the attributes requested.
  666. "attr" is of the form: <+/-><global>[&/|<channel>[&/|<bot>]]
  667. Specifying "&" as the separator will cause AND style matching.
  668. For example:
  669. .match p&o
  670. This will match all users with both the "p" global flag and the "o" channel
  671. flag on your current console channel.
  672. Specifying "|" as the separator will cause OR style matching.
  673. For example:
  674. .match p|o
  675. This will match all users with either the "p" global flag or the "o" channel
  676. flag on your current console channel. If you specify a channel, it will be
  677. used instead of the current console channel.
  678. For example:
  679. .match p|o #eggdrop
  680. This will match all users with either the "p" global flag or the "o" channel
  681. flag on the channel #eggdrop. You can also match bot flags.
  682. For example:
  683. .match o|o|h
  684. This will match all bots with either the "o" global flag, the "o" channel
  685. flag on the current console channel, or the "h" botflag. You can also limit
  686. the number of total results returned by specifying a limit at the end of the
  687. command. A starting point can also be specified.
  688. For example:
  689. .match p&o #eggdrop 16 25
  690. This would show results 16 through 25 matching any users with the "p" global
  691. flag or the "o" channel flag on #eggdrop.
  692. ### %bmatch%b <wildcard-string> [[start] limit]
  693. This displays all user records where the user's handle or any of the user's
  694. hostmasks match the specified wildcard string. You can also limit the number
  695. of total results returned by specifying a limit at the end of the command. A
  696. starting point can also be specified.
  697. For example:
  698. .match *.edu 16 25
  699. This would show results 16 through 25 matching any users with a hostmask
  700. that ends with ".edu".
  701. ::me
  702. ### %bme%b <text>
  703. Performs an action on the party line. This appears as "* Wcc is leaving",
  704. etc.
  705. ::motd
  706. ### %bmotd%b %{+m}<message>%{-}
  707. This redisplays the partyline Message Of The Day, which was shown when you
  708. first joined the partyline.%{+m} Inclue a message to set the motd.
  709. :leaf:msg
  710. ### %bmsg%b <nickname> <text>
  711. sends a private message to someone from the bot, just as if the
  712. bot had typed /msg.
  713. %{+n}See also: netmsg%{-}
  714. ::newpass
  715. ### %bnewpass%b <password|rand>
  716. Changes your password on the bot. This is similar to the '/msg <bot> pass'
  717. command, except you don't need to specify your old password. If the
  718. newpassword is 'rand', a random password will be used.
  719. %(hub)%{+m}See also: chpass%{+n}, chsecpass
  720. ::nick
  721. See: handle
  722. ::note
  723. ### %bnote%b <nickname[@bot]> <message>
  724. Sends a private note to a user on the partyline. If that user is currently
  725. logged in and not marked as away, the message will be received immediately.
  726. Otherwise, it will be stored and displayed the next time that user joins the
  727. partyline. To send a note to someone on a different bot, add "nick@bot" to
  728. the nickname.
  729. See also: whom, notes
  730. ::noteigns
  731. ### %bnoteigns%b%{+m} [user]%{-}
  732. List all note ignores. All notes sent from users who match one of the
  733. ignore masks will be rejected.
  734. See also: +noteign -noteign
  735. ::notes
  736. ### %bnotes index%b
  737. ### %bnotes read%b <# or ALL>
  738. ### %bnotes erase%b <# or ALL>
  739. lets you manipulate notes that have been stored up for you while
  740. you were gone. %b'notes index'%b gives a listing of all the notes
  741. stored up: who they are from, and when they were left.
  742. %b'notes read'%b lets you read some or all notes, according to a
  743. list of numbers and/or intervals separated by semicolon.
  744. and %b'notes erase'%b erases notes after you are done with them.
  745. ex: notes erase 2-4;8;16-
  746. See also: note, whom, noteigns
  747. :leaf:op
  748. ### %bop%b <nickname> [channel|*]
  749. will grant chanop to the person you specify, so long as the bot
  750. is opped on that channel, and the person you specify isn't being
  751. actively deopped by the bot. Specify * for all channels.
  752. See also: deop, console
  753. ::page
  754. ### %bpage%b <number/off>
  755. This allows you to slow down the number of lines the bot sends you at once
  756. via the partyline. When enabled, any commands that send greater than the
  757. specified number of lines will stop when that number is reached and wait for
  758. you to type another command (or press enter) to continue. If you have too
  759. many pending lines, you may be booted off the bot.
  760. ::quit
  761. ### %bquit%b [comment]
  762. This disconnects you from the partyline. If you specify a comment, it will
  763. be displayed to other partyline users as you leave.
  764. ::randstring
  765. ### %brandstring%b <len>
  766. Displays a random string of length 'len'
  767. ::relay
  768. ### %brelay%b <botname>
  769. Relays you via telnet to another bot, whether or not it is currently linked.
  770. The local bot must, however, have a bot record for the bot you wish to
  771. relay to. Typing .quit or "*bye*" on a line by itself will end the relay.
  772. See also: bots%{+n}, newleaf%{+a}, -bot
  773. ::reload
  774. ### %breload%b
  775. Reloads the bot's user file, discarding any changes made since the last
  776. %b'%dsave'%b command or hourly user file save. Sharebots should probably
  777. never do this.
  778. See also: save
  779. :leaf:reset
  780. ### %breset%b [channel]
  781. clears out the bot's channel information and makes it gather the
  782. information from the server all over again, as if it had just
  783. joined that channel. it's not really useful much, but could be
  784. if an odd bug causes the channel information to get scrambled.
  785. unfortunately this command used to get a lot of use. you can omit
  786. the channel name to make it reset ALL channels.
  787. :leaf:resetbans
  788. ### %bresetbans%b [channel]
  789. resets the bot's ban list for the channel. any bans on the channel
  790. that aren't in the ban list (either the global list or the local
  791. channel ban list) will be removed, and if there are any bans in the
  792. global ban list or channel ban list that are not currently on the
  793. channel, they will be added.
  794. See also: bans, console%{+m|m}, reset
  795. :leaf:resetexempts
  796. ### %bresetexempts%b [channel]
  797. resets the bot's exemption list for the channel. this command
  798. behaves exactly like resetbans, except it is for exempts.
  799. See also: resetbans, resetinvites
  800. :leaf:resetinvites
  801. ### %bresetinvites%b [channel]
  802. resets the bot's invitation list for the channel. this command
  803. behaves exactly like resetbans, except it is for invites.
  804. See also: resetbans, resetinvites
  805. ::restart
  806. ### %brestart%b
  807. Restarts the Tcl interpreter, wipes all timers, reloads all modules, and
  808. reloads the config file for the bot (which resets any changes made via the
  809. %b'%dset'%b command and reloads any Tcl scripts your config loads). As with
  810. the %b'%drehash'%b command, it also saves and reloads the user file from disk.
  811. See also: reload, save
  812. :hub:save
  813. ### %bsave%b
  814. This makes the bot write its entire userfile to disk. This is useful if you
  815. think the bot is about to crash or something, since the user file is only
  816. written to disk about once an hour.
  817. See also: reload, backup
  818. :leaf:say
  819. ### %bsay%b [channel] <text>
  820. dumps the text to your current console channel (or other specified
  821. channel), as if the bot "said" it.
  822. ::secpass:
  823. ### %bsecpass%b <password|rand>
  824. Changes your secpass on the bot. This is used for Authing via /msg
  825. and for DCC. If the password is 'rand', a random password will be used.
  826. %(hub)%{+m}See also: chpass%{+n}, chsecpass
  827. :leaf:servers
  828. ### %bservers%b
  829. lists the servers that the bot has in its server list. this is
  830. the list it rotates through when changing servers. it starts
  831. with a static list which it loads from its config-file when the
  832. bot is booted up. after that, you can add servers with the
  833. %b'%djump'%b command. the server list will indicate which server the
  834. bot is currently on.
  835. ::simul
  836. ### %bsimul%b <handle> <text>
  837. This allows you to simulate the specified handle typing the given text.
  838. For example:
  839. %dsimul dweeb%d.quit
  840. This would appear just as if "dweeb" typed "%dquit". This command will not
  841. work unless eggdrop has simul enabled in the config file.
  842. See also: su
  843. ::status
  844. ### %bstatus%b
  845. ### %bstatus all%b
  846. Displays a condensed block of status information about the bot.
  847. is running. For example:
  848. [01:15] #Wcc# status
  849. I am Anakha, running eggdrop v1.6.16+stripping: 171 users (mem: 315k)
  850. Online for 14 days, 02:50 (background) CPU 71:29 cache hit 40.3%
  851. Admin: Wcc
  852. Config file: eggdrop.conf
  853. OS: FreeBSD 4.8-RELEASE-p1
  854. Tcl library: /usr/local/lib/tcl8.4
  855. Tcl version: 8.4.2 (header version 8.4.2)
  856. Loaded module information:
  857. Channels: #|DAWG|Net, #|DAWG|Tcl
  858. Online as: D|Anakha!wcc@cia.nu (|DAWG|Anakha - |DAWG|Net)
  859. Server irc.inet.tele.dk:6667 (connected for 11 days)
  860. #|DAWG|Net: 6 members, enforcing "+istn" (lurking)
  861. #|DAWG|Tcl: 42 members, enforcing "+tn" (lurking)
  862. The first line tells you the bot's name, what version of Eggdrop it's
  863. running, the number of users the bot has records of, and the amount of
  864. memory being used by the userfile. The second line tells you the uptime of
  865. the bot, CPU time, and cache hit. The third shows the bot's admin, and the
  866. forth shows its current config file. The fifth line shows what operating
  867. system the bot is running on. The next two lines show Tcl information. If
  868. debug mode is enabled, additional info may be shown. Sharing information
  869. will also be shown if it's being used.
  870. Select information from modules will be displayed after the core
  871. information. If you use %b'%dstatus all'%b instead, you will see all status
  872. information available from loaded modules.
  873. See also: channel, channels%{+a}, debug
  874. ::stick
  875. ### %bstick%b [ban/exempt/invite] <hostmask/number> [channel]
  876. Makes a ban, exempt, or invite "sticky". This means that the bot will always
  877. try to keep it active on the channel. Obviously, if the channel isn't using
  878. dynamic bans, this has no effect.
  879. See also: bans, exempts, invites, unstick, +ban, +exempt, +invite
  880. ::store
  881. ### %bstore%b
  882. Stores your console settings so that they are restored automatically the
  883. next time you join the party line. ('console' calls this auto)
  884. See also: console
  885. ::strip
  886. ### %bstrip%b [modes]
  887. Allows you to remove embedded 'attribute' codes your partyline output. Valid
  888. options are:
  889. %bb%b - remove all boldface codes
  890. %bc%b - remove all color codes
  891. %br%b - remove all reverse video codes
  892. %bu%b - remove all underline codes
  893. %ba%b - remove all ANSI codes
  894. %bg%b - remove all ctrl-g (bell) codes
  895. The mode can also be a modifier like '+c' or '-bu' or '+ru-c'. If
  896. you omit modes, it will show your current setting.
  897. See also: fixcodes, color, echo
  898. %{+m}
  899. ### %bstrip%b <user> [modes]
  900. Set the strip level of another user. A master can't set their own strip
  901. flags without prefixing the modes with a '+' or '-'.
  902. ::su
  903. ### %bsu%b <user>
  904. Lets you assume the identity of another user. If you are a global owner,
  905. this does not require a password. Otherwise, you will be asked for the
  906. user's password. %b%dquit%b returns you to your original handle.
  907. :leaf:topic
  908. ### %btopic%b <text>
  909. changes the channel's topic, assuming the bot is a chanop or the
  910. channel is not +t (uses your current console channel).
  911. See also: console
  912. :hub:trace
  913. ### %btrace%b <bot>
  914. Sends out a trace signal to another bot. If/when the trace signal returns,
  915. (and it should!) you will get an output that looks something like this:
  916. Trace result -> Valis:Stonewall:NoBoty:SomeBoty
  917. This is a list of the bots connected between you and the destination bot.
  918. It should also return the time in seconds taken for the trace to occur.
  919. See also: bots, bottree, vbottree
  920. ::traffic
  921. ### %btraffic%b
  922. Shows total and daily net traffic stats since the last %b'%drestart'%b.
  923. Stats groups are IRC, Botnet, Partyline, Transfer.mod and Misc.
  924. %{+m}See also: restart
  925. ::unlink
  926. ### %bunlink%b <bot|*>
  927. This disconnects the specified bot from the botnet (assuming it was linked
  928. in the first place). Some bots (sharebots in particular) might not allow you
  929. to unlink them. If "*" is specified as the parameter, all bots will be
  930. unlinked.
  931. See also: %{+n}link, %{-}bots, downbots%{+n}, newleaf, bottree, vbottree
  932. ::unstick
  933. ### %bunstick%b [ban/exempt/invite] <hostmask/number> [channel]
  934. Makes a "sticky" ban, exempt, or invite normal again.
  935. See also: bans, exempts, invites, stick, -ban, -exempt, -invite
  936. ::uptime
  937. ### %buptime%b
  938. Displays the bot's current uptime.
  939. See also: status
  940. :hub:vbottree
  941. ### %bvbottree%b
  942. Shows a tree-format diagram of the bots currently on the botnet, along with
  943. their internal version number.
  944. See also: bots, downbots, botinfo, vbottree
  945. :leaf:voice
  946. ### %bvoice%b <nickname> [channel|*]
  947. will give a +v voice to a person you specify, so long as the
  948. bot is opped on that channel. Specify * for all channels.
  949. See also: devoice
  950. ::whoami
  951. ### %bwhoami%b
  952. Shows your current handle and to what bot you are connected.
  953. See also: whom
  954. ::end