help.txt 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491
  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. ::+exempt
  15. ### %b+exempt%b <hostmask> [channel] [%%<XdXhXm>] [comment]
  16. Adds an exempt to the list of exempts stored on the bot, with optional
  17. comment and exempt time. This exempt is stored with your handle as the
  18. creator, and will be in effect for every channel if no channel is specified.
  19. Exempt time has to be expressed in days, hours, and/or minutes.
  20. See also: exempts, -exempt, stick, unstick
  21. ::+host
  22. ### %b+host%b [handle] <hostmask>
  23. Adds a hostmask to a user's user record. Hostmasks are used to identify your
  24. handle on IRC. If a handle is not specified, the hostmask will be added to
  25. YOUR user record.
  26. See also: -host
  27. ::+ignore
  28. ### %b+ignore%b <hostmask> [%%<XdXhXm>] [comment]
  29. Adds an ignore to the list of ignores stored on the bot, with optional
  30. comment and ignore time. This ignore is stored with your handle as the
  31. creator. Ignore time has to be expressed in days, hours, and/or minutes.
  32. See also: -ignore, ignores
  33. ::+invite
  34. ### %b+invite%b <hostmask> [channel] [%%<XdXhXm>] [comment]
  35. Adds an invite to the list of invites stored on the bot, with optional
  36. comment and invite time. This invite is stored with your handle as the
  37. creator, and will be in effect for every channel if no channel is specified.
  38. Invite time has to be expressed in days, hours, and/or minutes.
  39. See also: invites, -invite, stick, unstick
  40. ::+user
  41. ### %b+user%b <handle> [hostmask]
  42. Creates a new user record for the handle given. The new user record will
  43. have no flags, an optional hostmask, and a random pass/secpass.
  44. See also: -user, +host, -host%(hub)%{+n}, newleaf
  45. :hub:-bot
  46. ### %b-bot%b <bot>
  47. This is exactly the same as %b'%d-user'%b (it removes a user record). It is
  48. included for convenience.
  49. See also: +user, -user%{+n}, newleaf
  50. ::-host
  51. ### %b-host%b <hostmask>
  52. Removes a host from your handle.
  53. %{+m|m}
  54. ### %b-host%b <handle> <hostmask>
  55. Removes a hostmask from a user's user record.
  56. %{-}
  57. See also: +host
  58. ::-ignore
  59. ### %b-ignore%b <hostmask/number>
  60. Removes the specified ignore from the list of ignores stored on the bot. You
  61. may also reference the ignore by the number shown by the 'ignores' command.
  62. See also: +ignore, ignores
  63. ::-user
  64. ### %b-user%b <handle>
  65. Removes the specified handle's user record.
  66. See also: +user%(hub)%{+a}, -bot%{+n}, newleaf
  67. ::addlog
  68. ### %baddlog%b <text>
  69. Adds your comment to the bot's logfile. Bot masters can go back later and
  70. review the log, and will see your comment (with your handle attached). This
  71. is useful for explaining confusing activity.
  72. ::away
  73. ### %baway%b [reason]
  74. Marks you as "away" on the party line. Your away message will show up in
  75. the %b'%dwho'%b list, and will be displayed to anyone who tries to send you
  76. a note. Your notes will be stored, and then displayed to you as soon as you
  77. are no longer away. Saying something on the party line will automatically
  78. remove your "away" status, or you can type %b'%dback'%b or %b'%daway'%b by
  79. itself.
  80. See also: back
  81. ::back
  82. ### %bback%b
  83. This marks you as no longer away on the party line.
  84. See also: away
  85. :hub:backup
  86. ### %bbackup%b
  87. This makes the bot write a backup of its entire user list to the disk.
  88. This is useful if you feel the need to backup the userfile and channel
  89. settings.
  90. See also: reload, save
  91. :hub:binds
  92. ### %bbinds%b [type/match] [all]
  93. Shows the Tcl bindings in effect, in a list similar to this:
  94. Command bindings:
  95. TYPE FLGS COMMAND HITS BINDING (TCL)
  96. msg -|- rose 0 msg_rose
  97. msg -|- go 0 msg_go
  98. dcc m|- bind 0 cmd_bind
  99. pub -|- gross 0 pub_gross
  100. The fields should be self-explanatory, except for HITS, which records the
  101. number of times that binding has been called. If not, go read the file
  102. %b'doc/tcl-commands.doc'%b for help on the Tcl bind command. Note that the
  103. builtin commands are now shown. You may also specify a type of binding to
  104. show (i.e. %b'%dbinds msg'%b) or you can specify a wild card match (i.e.
  105. %b'%dbinds *seen*'%b) if you want to narrow the field a bit. The wild card
  106. matches will match against the TYPE, COMMAND and BINDING fields. You can
  107. view more binds by adding 'all' to the end of the command.
  108. See also: tcl
  109. :hub:boot
  110. ### %bboot%b <handle[@bot]> [reason]
  111. Kicks a user off the party line and displays the reason, if you specify
  112. one. You can also specify a bot, and attempt to boot someone from another
  113. bot on the botnet, though it may be rejected if that bot does not allow
  114. remote boots. You can not boot a bot owner.
  115. :hub:botinfo
  116. ### %bbotinfo%b
  117. Requests information from every bot currently on the botnet. Each bot should
  118. eventually send you one line containing its version, network setting,
  119. channels, and uptime.
  120. See also: %{+n}bottree, vbottree%{+m}, bots
  121. :hub:bots
  122. ### %bbots%b
  123. Shows the list of bots currently on the botnet.
  124. Example:
  125. Bots: cEvin, ruthie, Killa1
  126. There is no indication of which bots are directly connected to this current
  127. bot. %{+n}Use %b'%dwho'%b or %b'%dbottree'%b for that information.%{-}
  128. See also: downbots%{+n}, bottree, vbottree%{-}, botinfo
  129. :hub:bottree
  130. ### %bbottree%b
  131. Shows a tree-format diagram of the bots currently on the botnet. It's just a
  132. nice way to get a feel for how the bots are physically connected. If 2 bots
  133. are sharing, a + will be indicated, or a ? if nothing is known.
  134. See also: bots, downbots, botinfo, vbottree
  135. :hub:chaddr
  136. ### %bchaddr%b <bot> <address[:bot port[/user port]]>
  137. Changes the address for a bot. This is the address your bot will try to
  138. connect to when linking. If the bot has a separate port for bots and users,
  139. they should be separated by a slash (/).
  140. %{+a}
  141. It is not recommneded that this is used, you should change your source,
  142. and update all bots instead.
  143. %{-}
  144. See also: link
  145. ::chat
  146. ### %bchat%b <on/off>
  147. ### %bchat%b <[*]channel number/name>
  148. Changes your current channel on the partyline. When you first connect to
  149. the partyline, it places you on channel 0 (the main party line).
  150. Some channels may have assigned names if the assoc module is loaded. For
  151. these, you can specify the channel by name instead of channel number if
  152. you wish.
  153. %b'%dchat off'%b removes you from all channels, including the main party line.
  154. You can still use bot commands and see the console, but you can't talk to
  155. anyone except via %b'%dnote'%b. %b'%dchat on'%b returns you to the main party
  156. line (channel 0) if you were elsewhere.
  157. If you prefix the channel with a '*', you will join a local channel.
  158. See also: console
  159. ::chattr
  160. ### %bchattr%b <handle> [flags] [channel]
  161. This lets you view and change the flags for a user.
  162. For example, to give Lamer the p and f flags:
  163. .chattr Lamer +pf
  164. To remove Denali from the global op list:
  165. .chattr Denali -o
  166. You may also do any combination of the above:
  167. .chattr Fred1 -m+xj-o
  168. You can also change the flags for Usagi on a specific channel by supplying
  169. the channel after the attributes:
  170. .chattr Usagi -m+dk-o #blah
  171. Changing global and channel specific flags within the same command line is
  172. also possible (global +f, +o #lamer):
  173. .chattr Bill f|o #lamer
  174. Whether or not you change any flags, it will show you the user's attributes
  175. afterwards. To get a list of all possible flags, see %b'%dhelp whois'%b.
  176. %bNOTES:%b Only the owner may add or remove the 'a' (admin) or 'n' (owner) flags.
  177. It is pointless to -a a permanent owner.
  178. You must remove the permanent owner in the binary.
  179. See also: whois
  180. :hub:chhandle
  181. ### %bchhandle%b <oldhandle> <newhandle>
  182. Changes the handle of a user. For example, to change the handle of user
  183. 'gavroche' to 'jamie', you would use 'chhandle gavroche jamie'.
  184. See also: chpass%{+n}, chsecpass
  185. :hub:chpass
  186. ### %bchpass%b <handle> [newpassword]
  187. Changes a user's password. If you do not specify the new password, the user
  188. effectively no longer has a password set. A password is needed to get ops,
  189. join the party line, etc. If the newpassword is 'rand', a random password
  190. will be used.
  191. See also: chhandle%{+n}, chsecpass
  192. ::comment
  193. ### %bcomment%b <user> <comment>
  194. Creates or changes the comment field for a user. The comment field can only
  195. be seen via 'whois' or 'match'. Non-masters cannot see the comment field.
  196. Using the comment 'none' will clear a user's comment.
  197. :hub:dccstat
  198. ### %bdccstat%b
  199. Displays a table-format list of all "dcc" connections in use on the bot.
  200. Dcc stands for "Direct Client-to-client Communication", and Eggdrop expands
  201. this to cover every open socket. Any type of network connection to the bot
  202. is considered a "dcc" connection.
  203. The headings of the table are:
  204. %bSOCK%b the socket number of this connection (always unique)
  205. %bADDR%b the ip address mask of the host the bot is connected to, if
  206. applicable
  207. %bPORT%b the port number being used for this connection
  208. %bNICK%b the handle of the user or bot, if applicable
  209. %bHOST%b the hostname corresponding to the IP address, if available
  210. %bTYPE%b the type of dcc connection (see below)
  211. The types of connections currently possible are as follows (but more are
  212. being added all the time):
  213. %bCHAT%b dcc-chat partyline user
  214. %bPASS%b user entering dcc chat (being asked for password)
  215. %bSEND%b user sending a file
  216. %bGET%b sending a file to a user
  217. %bGETP%b pending get (waiting for the user to acknowledge)
  218. %bLSTN%b telnet listening port (in place of a hostname, it will show the
  219. callback procedure name, or a mask of acceptable handles)
  220. %bT-IN%b incoming telnet user (being asked for handle)
  221. %bFILE%b user in dcc-chat file area
  222. %bBOT%b connected bot (botnet connection)
  223. %bBOT*%b pending bot link (waiting for acknowledgement)
  224. %bRELA%b user in relay connection to another bot
  225. %b>RLY%b bot being relay'd to (one for each "RELA")
  226. %bCONN%b pending telnet connection (chat, relay, bot-link, etc)
  227. %bNEW%b new user via telnet (entering a handle)
  228. %bNEWP%b new user via telnet (entering a password)
  229. In addition, 'CHAT' and 'BOT' have flags listed for each connection. Capital
  230. letters mean that the flag is on, and lowercase letters mean that the flag
  231. is off. The flags for 'CHAT' are:
  232. %bC%b in file area, but allowed to return to party line
  233. %bP%b party line access only
  234. %bT%b telnet connection (instead of dcc chat)
  235. %bE%b echo is on
  236. %bP%b paging is on
  237. %b6%b socket is ipv6
  238. The flags for 'BOT' are:
  239. %bP%b ping sent, waiting for reply
  240. %bU%b user-file sharing is active
  241. %bC%b local bot initiated the connection
  242. %bO%b user-file offered, waiting for reply
  243. %bS%b in the process of sending the user-file
  244. %bG%b in the process of getting the user-file
  245. %bW%b warned this bot to stop hubbing
  246. %bL%b leaf-only bot (not allowed to be a hub)
  247. %bI%b bot is currently in the 'linking' stage
  248. %bA%b bot is being aggressively shared with
  249. For 'CHAT' users, the party-line channel is also listed.
  250. ::debug
  251. ### %bdebug%b
  252. Display a dump of memory allocation information, assuming the bot was
  253. compiled with memory debugging. It's useless to anyone but developers
  254. trying to find memory leaks.
  255. ::die
  256. ### %bdie%b [reason]
  257. This kills the bot. The bot goes offline immediately, logging who issued
  258. the 'die' command. You shouldn't have to use this too often. If you specify
  259. a reason, it is logged, otherwise the reason is "authorized by <handle>".
  260. ::echo
  261. ### %becho%b <on/off>
  262. Specifies whether you want your messages echoed back to you. If it's on,
  263. then when you say something on the party line, it will be displayed to you
  264. just like everyone else will see it. If it's off, then it won't happen.
  265. See also: color
  266. ::fixcodes
  267. ### %bfixcodes%b
  268. This is for use in situations where the bot gets mixed up about the type
  269. of connection you have with it. For example, you /CTCP CHAT the bot and
  270. it thinks you are connecting via telnet, and you see text displayed as
  271. "Local time is now 17:17" for example instead of "Local time is
  272. now 17:17". Use this to turn telnet codes on or off/change the display
  273. mode.
  274. ::handle
  275. ### %bhandle%b <new-handle>
  276. Changes your handle on the bot. This is the handle (nickname) that the
  277. bot will know you as from this point forward. It is used to log into the
  278. bot.
  279. See also: newpass%{+m}, %(hub)chhand, chpass%{+n}, chsecpass
  280. ::ignores
  281. ### %bignores%b [wildcard]
  282. Shows a list of hostmasks from which the bot is currently ignoring msgs,
  283. notices, etc. There are two types of ignores: permanent and temporary.
  284. Permanent ignores never automatically expire. You must use %b'%d-ignore'%b
  285. to remove them.
  286. Here is a sample permanent ignore:
  287. [ 1] *!*@217.156.44.184 (perm)
  288. Wcc: go away
  289. Started 523 days ago
  290. The number (1) can be used to reference the ignore if you wish to remove it
  291. (see %b'%dhelp -ignore'%b). Next is the actual hostmask being ignored. The
  292. "(perm)" means that the ignore is "permanent": that is, it doesn't
  293. automatically expire. The second line of the ignore entry is the comment
  294. ("go away"), and who set the ban (Wcc). The last line shows when the ignore
  295. was added.
  296. Here is a sample temporary ignore:
  297. [ 10] blah!blah@blah.cc (expires in 1 day)
  298. Wcc: requested
  299. Started 18:02
  300. Here, you see the "perm" in the parentheses next to the hostmask is instead
  301. an expire time. This means that the ignore will expire automatically in one
  302. day.
  303. If you use %b'%dignores <wildcard>'%b, it will list all the ignores
  304. that match against your wildcard.
  305. See also: +ignore, -ignore
  306. :hub:link
  307. ### %blink%b [via-bot] <bot-to-link>
  308. Attempts to link to another hub. This command is deprecated and not
  309. recommended for use.
  310. See also: unlink, newleaf%{+a}, -bot
  311. ::match
  312. ### %bmatch%b <attr> [channel] [[start] limit]
  313. This displays all user records with the attributes requested.
  314. "attr" is of the form: <+/-><global>[&/|<channel>[&/|<bot>]]
  315. Specifying "&" as the separator will cause AND style matching.
  316. For example:
  317. .match p&o
  318. This will match all users with both the "p" global flag and the "o" channel
  319. flag on your current console channel.
  320. Specifying "|" as the separator will cause OR style matching.
  321. For example:
  322. .match p|o
  323. This will match all users with either the "p" global flag or the "o" channel
  324. flag on your current console channel. If you specify a channel, it will be
  325. used instead of the current console channel.
  326. For example:
  327. .match p|o #eggdrop
  328. This will match all users with either the "p" global flag or the "o" channel
  329. flag on the channel #eggdrop. You can also match bot flags.
  330. For example:
  331. .match o|o|h
  332. This will match all bots with either the "o" global flag, the "o" channel
  333. flag on the current console channel, or the "h" botflag. You can also limit
  334. the number of total results returned by specifying a limit at the end of the
  335. command. A starting point can also be specified.
  336. For example:
  337. .match p&o #eggdrop 16 25
  338. This would show results 16 through 25 matching any users with the "p" global
  339. flag or the "o" channel flag on #eggdrop.
  340. ### %bmatch%b <wildcard-string> [[start] limit]
  341. This displays all user records where the user's handle or any of the user's
  342. hostmasks match the specified wildcard string. You can also limit the number
  343. of total results returned by specifying a limit at the end of the command. A
  344. starting point can also be specified.
  345. For example:
  346. .match *.edu 16 25
  347. This would show results 16 through 25 matching any users with a hostmask
  348. that ends with ".edu".
  349. ::me
  350. ### %bme%b <text>
  351. Performs an action on the party line. This appears as "* Wcc is leaving",
  352. etc.
  353. ::motd
  354. ### %bmotd%b %{+m}<message>%{-}
  355. This redisplays the partyline Message Of The Day, which was shown when you
  356. first joined the partyline.%{m) Inclue a message to set the motd.
  357. ::newpass
  358. ### %bnewpass%b <password>
  359. Changes your password on the bot. This is similar to the '/msg <bot> pass'
  360. command, except you don't need to specify your old password.
  361. %(hub)%{+m}See also: chpass%{+n}, chsecpass
  362. ::note
  363. ### %bnote%b <nickname[@bot]> <message>
  364. Sends a private note to a user on the partyline. If that user is currently
  365. logged in and not marked as away, the message will be received immediately.
  366. Otherwise, it will be stored and displayed the next time that user joins the
  367. partyline. To send a note to someone on a different bot, add "nick@bot" to
  368. the nickname.
  369. See also: whom, notes
  370. ::page
  371. ### %bpage%b <number/off>
  372. This allows you to slow down the number of lines the bot sends you at once
  373. via the partyline. When enabled, any commands that send greater than the
  374. specified number of lines will stop when that number is reached and wait for
  375. you to type another command (or press enter) to continue. If you have too
  376. many pending lines, you may be booted off the bot.
  377. ::quit
  378. ### %bquit%b [comment]
  379. This disconnects you from the partyline. If you specify a comment, it will
  380. be displayed to other partyline users as you leave.
  381. ::relay
  382. ### %brelay%b <botname>
  383. Relays you via telnet to another bot, whether or not it is currently linked.
  384. The local bot must, however, have a bot record for the bot you wish to
  385. relay to. Typing .quit or "*bye*" on a line by itself will end the relay.
  386. See also: bots%{+n}, newleaf%{+a}, -bot
  387. ::reload
  388. ### %breload%b
  389. Reloads the bot's user file, discarding any changes made since the last
  390. %b'%dsave'%b command or hourly user file save. Sharebots should probably
  391. never do this.
  392. See also: save
  393. ::restart
  394. ### %brestart%b
  395. Restarts the Tcl interpreter, wipes all timers, reloads all modules, and
  396. reloads the config file for the bot (which resets any changes made via the
  397. %b'%dset'%b command and reloads any Tcl scripts your config loads). As with
  398. the %b'%drehash'%b command, it also saves and reloads the user file from disk.
  399. See also: reload, save
  400. :hub:save
  401. ### %bsave%b
  402. This makes the bot write its entire userfile to disk. This is useful if you
  403. think the bot is about to crash or something, since the user file is only
  404. written to disk about once an hour.
  405. See also: reload, backup
  406. ::simul
  407. ### %bsimul%b <handle> <text>
  408. This allows you to simulate the specified handle typing the given text.
  409. For example:
  410. %dsimul dweeb%d.quit
  411. This would appear just as if "dweeb" typed "%dquit". This command will not
  412. work unless eggdrop has simul enabled in the config file.
  413. See also: su
  414. ::strip
  415. ### %bstrip%b [modes]
  416. Allows you to remove embedded 'attribute' codes your partyline output. Valid
  417. options are:
  418. %bb%b - remove all boldface codes
  419. %bc%b - remove all color codes
  420. %br%b - remove all reverse video codes
  421. %bu%b - remove all underline codes
  422. %ba%b - remove all ANSI codes
  423. %bg%b - remove all ctrl-g (bell) codes
  424. The mode can also be a modifier like '+c' or '-bu' or '+ru-c'. If
  425. you omit modes, it will show your current setting.
  426. See also: fixcodes, color, echo
  427. %{+m}
  428. ### %bstrip%b <user> [modes]
  429. Set the strip level of another user. A master can't set their own strip
  430. flags without prefixing the modes with a '+' or '-'.
  431. ::su
  432. ### %bsu%b <user>
  433. Lets you assume the identity of another user. If you are a global owner,
  434. this does not require a password. Otherwise, you will be asked for the
  435. user's password. %b%dquit%b returns you to your original handle.
  436. :hub:trace
  437. ### %btrace%b <bot>
  438. Sends out a trace signal to another bot. If/when the trace signal returns,
  439. (and it should!) you will get an output that looks something like this:
  440. Trace result -> Valis:Stonewall:NoBoty:SomeBoty
  441. This is a list of the bots connected between you and the destination bot.
  442. It should also return the time in seconds taken for the trace to occur.
  443. See also: bots, bottree, vbottree
  444. :hub:traffic
  445. ### %btraffic%b
  446. Shows total and daily net traffic stats since the last %b'%drestart'%b.
  447. Stats groups are IRC, Botnet, Partyline, Transfer.mod and Misc.
  448. %{+m}See also: restart
  449. ::whoami
  450. ### %bwhoami%b
  451. Shows your current handle and to what bot you are connected.
  452. See also: whom
  453. ::end