help.txt 83 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906
  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> [anotherhostmask] ...
  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. List as many hosts as wanted.
  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. ::+user
  46. ### $b+user$b <handle> [hostmask] [anotherhostmask] ...
  47. Creates a new user record for the handle given. The new user record will
  48. have no flags, an optional hostmask, and a random pass/secpass.
  49. List as many hosts as needed.
  50. See also: -user, +host, -host%{+ni}, newleaf%{-}
  51. ::-ban
  52. ### $b-ban$b <banmask or number> [channel]
  53. Removes the specified ban from the list of bans stored on the bot. You may
  54. also reference the ban by the number shown by the 'bans' command.
  55. See also: bans, +ban, stick, unstick
  56. :hub:-bot
  57. ### $b-bot$b <bot>
  58. This is exactly the same as $b'%d-user'$b (it removes a user record). It is
  59. included for convenience.
  60. See also: +user, -user%{+n}, newleaf%{-}
  61. ::-chan
  62. ### $b-chan$b <channel>
  63. This removes ALL information about a channel from the bot.
  64. $f*** IMPORTANT ***$f
  65. This erases ALL information about the channel, including channel settings,
  66. bans, exempts, invites, and channel records for users -- $bEVERYTHING$b.
  67. $bDO NOT$b use it to have the bot temporarily leave a channel. This
  68. command is for abandoning a channel (e.g. the channel will have to be
  69. redefined and all user flags for that channel will have to be redone.
  70. If you want to do this try '%dcycle' or '%ddown'
  71. See also: +chan, chanset, chaninfo, cycle, down
  72. ::-chrec
  73. ### $b-chrec$b <handle> [channel]
  74. Removes a channel record for the specified user, including channel lastons,
  75. info lines, and flags.
  76. See also: +chrec, chattr
  77. ::-exempt
  78. Removes the specified exempt from the list of exempts stored on the bot. You
  79. may also reference the exempt by the number shown by the 'exempts' command.
  80. See also: exempts, +exempt, stick, unstick
  81. ::-host
  82. ### $b-host$b <hostmask>
  83. Removes a host from your handle.
  84. %{+m|m}
  85. ### $b-host$b <handle> <hostmask> [anotherhostmask] ...
  86. Removes a hostmask from a user's user record.
  87. %{-}
  88. See also: +host
  89. ::-ignore
  90. ### $b-ignore$b <hostmask/number>
  91. Removes the specified ignore from the list of ignores stored on the bot. You
  92. may also reference the ignore by the number shown by the 'ignores' command.
  93. See also: +ignore, ignores
  94. ::-invite
  95. ### $b-invite$b <hostmask or number>
  96. Removes the specified invite from the list of invites stored on the bot. You
  97. may also reference the invite by the number shown by the 'invites' command.
  98. See also: invites, +invite, stick, unstick
  99. ::-user
  100. ### $b-user$b <handle>
  101. Removes the specified handle's user record.
  102. See also: +user%{+ai}, -bot%{-}%{+nai}, newleaf%{-}
  103. ::about:
  104. ### $babout$b
  105. If you feel you are missing from the list feel free to contact bryan.
  106. :leaf:act
  107. ### $bact$b [channel] <text>
  108. Performs an action on the current console channel (or otherwise
  109. specified channel), as if the bot did it. Just like the /me
  110. command in IRC.
  111. See also: console
  112. ::addline
  113. ### $baddline$b <username>
  114. Shows you a simple line for adding a user to another botnet with the
  115. same hostmasks.
  116. See also: whois
  117. ::addlog
  118. ### $baddlog$b <text>
  119. Adds your comment to the bot's logfile. Bot masters can go back later and
  120. review the log, and will see your comment (with your handle attached). This
  121. is useful for explaining confusing activity.
  122. :leaf:adduser
  123. ### $badduser$b [!]<nickname> [handle]
  124. Creates a new user record for a user on the channel, using their
  125. current hostname. It's similar to a user msg'ing the bot 'hello'
  126. except that no information is sent to that user. If the bot
  127. already knows someone by that nickname, and the user on the channel
  128. doesn't have a bot record, then it does the equivalent of an
  129. 'ident' for that user -- except that, again, no information is
  130. sent to the user telling them that anything was done.
  131. If the user is using a different nickname than the bot normally
  132. knows her by, you can specify her "handle" (the nickname that the
  133. bot remembers).
  134. If you want to add a user using a static hostmask, prefix their nick
  135. with a '!'. i.e. .adduser !Lamer
  136. The user being added is sent a NOTICE with their initial password.
  137. See also: +host, -host%{+m}, +user, -user%{-}
  138. :leaf:authed:
  139. ### $bauthed$b
  140. Displays users who are authed on the bot for chan/msg cmds.
  141. ::away
  142. ### $baway$b [reason]
  143. Marks you as "away" on the party line. Your away message will show up in
  144. the $b'%dwho'$b list, and will be displayed to anyone who tries to send you
  145. a note. Your notes will be stored, and then displayed to you as soon as you
  146. are no longer away. Saying something on the party line will automatically
  147. remove your "away" status, or you can type $b'%dback'$b or $b'%daway'$b by
  148. itself.
  149. See also: back
  150. ::back
  151. ### $bback$b
  152. This marks you as no longer away on the party line.
  153. See also: away
  154. :hub:backup
  155. ### $bbackup$b
  156. This makes the bot write a backup of its entire user list to the disk.
  157. This is useful if you feel the need to backup the userfile and channel
  158. settings.
  159. See also: reload, save
  160. ::bans
  161. ### $bbans$b [[channel/all]/wildcard]
  162. Shows you a list of the global bans active on the current channel, and the
  163. list of channel-specific bans, as well as any bans that are on the channel
  164. but weren't placed by the bot.
  165. Here's a sample entry;
  166. [ 5] *!*habib@*frys.com (perm)
  167. paulie: revolving check policy
  168. Created 15:10
  169. The number (5) can be used to reference the ban if you wish to remove it
  170. (see $b'-ban'$b). Next is the actual hostmask being banned. The "(perm)"
  171. means that the ban is "permanent": that is, it doesn't automatically expire.
  172. If there is an elapsed time showing instead, the time displayed is how long
  173. the ban has been active. These types of bans expire after two hours. The
  174. second line of the ban entry is the comment ("revolving check policy"), and
  175. who set the ban (paulie). The last line shows when the ban was added, and
  176. possibly the last time the ban was activated on the channel (if it's
  177. different from the creation time).
  178. Sometimes there will be a "!" or "*" right before the number. A "!" means
  179. the ban is in the bot's ban list, but is not currently on the channel. A "*"
  180. marks a ban which is NOT in the bot's ban list but IS on the channel.
  181. If you use 'bans' without an argument, it will show you only the bans which
  182. are currently active on the channel. If you use 'bans all', it will show you
  183. every ban in the global ban list and on the channel. If you use 'bans
  184. <wildcard>', it will list all bans (active or not) that match against your
  185. wildcard. Consider it a 'bans all' list matched against your wildcard.
  186. The ban list may change according to which channel you're currently viewing
  187. in the console. Different bans may be active on different channels. If you
  188. specify a channel name, that channel will be used instead of your current
  189. console channel.
  190. See also: -ban, +ban, console%{+m|m}, chanset, chaninfo%{-}, stick, unstick
  191. :hub:bc:
  192. ### $bbc$b <bot> <cmd> [params]
  193. See: botcmd
  194. :hub:boot
  195. ### $bboot$b <handle[@bot]> [reason]
  196. Kicks a user off the party line and displays the reason, if you specify
  197. one. You can also specify a bot, and attempt to boot someone from another
  198. bot on the botnet. You can not boot a bot owner.
  199. :hub:botcmd:
  200. ### $bbotcmd$b <bot> <cmd> [params]
  201. The specified cmd and optional parameters are executed on the specified bot,
  202. all results are displayed back on DCC. For example:
  203. [19:29] #bryan# botcmd wtest whom ...
  204. [19:29] (wtest) #bryan# whom
  205. [wtest] Nick
  206. [wtest] ----------
  207. [wtest] ^bryan
  208. [wtest] ^bryan [idle 1h22m]
  209. [wtest] ^bryan [idle 1h22m]
  210. [wtest] Total users: 3
  211. The bot specified can also have wildcards in it. '*' for 1 or more chars, and
  212. '?' for exactly 1 char. Use this cmd carefuly, and even think about placing
  213. a cmdpass on it.
  214. Just using '?' for 'bot' will choose a random leaf bot.
  215. Just using '&' for 'bot' will do the cmd on all localhub bots. (first bot in config).
  216. This cmd cannot be chained over the botnet, ie, no: .botcmd [bot] botcmd [bot2] ...
  217. See also: bc, cmdpass
  218. ::botjoin
  219. ### $bbotjoin$b <bot> <channel> [options]
  220. Adds a channel to the bot's channel list. If options are specified, the
  221. channel will be configured with the options.
  222. See also: botpart, +chan, -chan, chanset, chaninfo
  223. ::botjump:
  224. ### $bbotjump$b <bot> [server [port [pass]]]
  225. Makes the bot jump to another server. If you don't specify a
  226. server, it will jump to the next server in it's internal list (see
  227. $b'help config'$b). If you specify a server, it will jump to that
  228. server (default port is 6667), and if that server is not in the
  229. internal list already, it will add it (until the bot relinks).
  230. Jumping servers ALWAYS makes the bot lose ops! be careful!
  231. See also: jump, servers, botserver
  232. ::botmsg:
  233. ### $bbotmsg$b <bot> <nickname|#chan> <text>
  234. sends a private message to someone from the bot, just as if the
  235. bot had typed /msg.
  236. See also: msg%{+n}, netmsg%{-}
  237. ::botnick:
  238. ### $bbotnick$b <bot>
  239. The bot will display it's current nick over DCC.
  240. See also: netnick
  241. ::botpart
  242. ### $bbotpart$b <bot> <channel> [options]
  243. Removes bot from the specified channel
  244. See also: botjoin, +chan, -chan, chanset, chaninfo
  245. :hub:bots
  246. ### $bbots$b [nodename]
  247. Shows the list of bots currently on the botnet.
  248. Example:
  249. Bots: cEvin, ruthie, Killa1
  250. There is no indication of which bots are directly connected to this current
  251. bot. %{+n}Use $b'%dwho'$b or $b'%dbottree'$b for that information.%{-}
  252. Specifying a nodename will display all bots up/down on that nodename.
  253. Bots with a * preceeding it's name is down.
  254. See also: downbots%{+n}, bottree%{-}
  255. ::botserver:
  256. ### $bbotserver$b <bot>
  257. The bot will display it's current server and lag over DCC.
  258. See also: netserver, servers%{+n}, config%{-}
  259. :hub:botset:
  260. ### $bbotset$b <bot> [<+/->list] [<var> [data|-]]
  261. Set's a bot specific entry.
  262. <bot> may contain wildcards.
  263. NOTE: 'set' and 'botset' have different entries.
  264. If there is a botset entry for 'name' and a set entry for 'name',
  265. the bot will use the 'botset' entry. Otherwise, the 'set' entry
  266. will be used for all options.
  267. See 'set' for a full help listing.
  268. See also: set
  269. :hub:bottree
  270. ### $bbottree$b
  271. Shows a tree-format diagram of the bots currently on the botnet. It's just a
  272. nice way to get a feel for how the bots are physically connected. If 2 bots
  273. are sharing, a + will be indicated, or a ? if nothing is known.
  274. See also: bots, downbots
  275. ::botversion:
  276. ### $bbotversion$b <bot>
  277. The bot will display it's pack version and uname.
  278. See also: version, netversion, about%{+m|m}, status%{-}
  279. :hub:chaddr
  280. ### $bchaddr$b <bot> <address[:bot port[/user port]]>
  281. Changes the address for a bot. This is the address your bot will try to
  282. connect to when linking. If the bot has a separate port for bots and users,
  283. they should be separated by a slash (/).
  284. %{+a}
  285. It is not recommneded that this is used, you should change your source,
  286. and update all bots instead.
  287. %{-}
  288. See also: link
  289. ::chaninfo:
  290. ### $bchaninfo$b <channel>
  291. This lists all the settings for the bot on the given channel.
  292. It shows any of the following:
  293. $bchanmode$b These modes are enforced on the channel. Both + and -
  294. modes can be enforced.
  295. $bidle-kick$b Kick idle users that are not +f or above on the channel
  296. after how many minutes (set this to 0 to disable).
  297. %{+m|m}
  298. $blimit$b If this is set, the +l bot will raise the limit
  299. to the users in the channel + this ammount. Set to
  300. 0 to disable.
  301. $bstopnethack-mode$b This setting will make the bot de-op anyone who
  302. enters the channel with serverops. There are seven
  303. different modes for this settings:
  304. 0 turn off
  305. 1 isoptest (allow serverop if registered op)
  306. 2 wasoptest (allow serverop if user had op before
  307. split)
  308. 3 allow serverop if isop or wasop
  309. 4 allow serverop if isop and wasop
  310. 5 If the channel is -bitch, see stopnethack-mode 3
  311. If the channel is +bitch, see stopnethack-mode 1
  312. 6 If the channel is -bitch, see stopnethack-mode 2
  313. If the channel is +bitch, see stopnethack-mode 4
  314. $brevenge-mode$b This settings defines how the bot should punish
  315. bad users when revenging. There are four possible
  316. settings:
  317. 0 Deop the user.
  318. 1 Deop the user and give them the +d flag for the
  319. channel.
  320. 2 Deop the user, give them the +d flag for the
  321. channel, and kick them.
  322. 3 Deop the user, give them the +d flag for the
  323. channel, kick, and ban them.
  324. $bclosed-ban$b Set this to 1 to ban users who join +closed
  325. channels. This is probably not needed though, as
  326. +closed maintains +i.
  327. $bclosed-invite$b If a channel is set +closed and this is set
  328. force the channel to always be +i, otherwise don't.
  329. $bclosed-private$b If a channel is set +closed, the bots will
  330. enforce +p as well. The point is to notice the chan
  331. and bots when an /invite is done. This is useful in
  332. seeing when a shell is hijacked ;)
  333. $bban-time$b Set here how long temporary bans will last (in
  334. minutes). If you set this setting to 0, the bot will
  335. never remove them. (This also requires +dynamicbans)
  336. $bexempt-time$b Set here how long temporary exempts will last (in
  337. minutes). If you set this setting to 0, the bot will
  338. never remove them. The bot will check the exempts
  339. every X minutes, but will not remove the exempt if a
  340. ban is set on the channel that matches that exempt.
  341. Once the ban is removed, then the exempt will be
  342. removed the next time the bot checks. Please note
  343. that this is an IRCnet feature.
  344. $binvite-time$b Set here how long temporary invites will last (in
  345. minutes). If you set this setting to 0, the bot will
  346. never remove them. The bot will check the invites
  347. every X minutes, but will not remove the invite if a
  348. channel is set to +i. Once the channel is -i then the
  349. invite will be removed the next time the bot checks.
  350. Please note that this is an IRCnet feature.
  351. $bvoice-non-ident$b If channel is +voice, clients without an ident will
  352. be voiced. Set to 0 to not voice clients without ident.
  353. The following options chose how to respond to specific events.
  354. Each can be set as any of the specified options.
  355. ignore/0 Ignore
  356. deop/1 Deop (chattr +d)
  357. kick/2 Kick (chattr +k)
  358. delete/remove/3 Remove user
  359. $bbad-cookie$b Missing or invalid cookie in bot op line.
  360. $bmanop$b Users who op manually in a -manop chan.
  361. $bmdop$b Users who mass deop.
  362. $bmop$b Users who mass op in a -mop chan.
  363. The following can be set + or - (e.g. .chanset #channel -enforcebans)
  364. $bautoop$b Bots that are +y will auto-op all users with
  365. op access to the channel.
  366. $bbitch$b Only let users with the +o flag have op on the
  367. channel?
  368. $bbotbitch$b Only let $bbots$b with the +o flag have op on the
  369. channel?
  370. $bclosed$b Kick all people who join channel unless they have
  371. op access for the channel.
  372. $bcycle$b Bot will attempt to cycle the channel when opless
  373. or during splits to gain ops.
  374. $benforcebans$b When a ban is set, kick people who are on the channel
  375. and match the ban?
  376. $bfastop$b Setting this will disable cookie-ops. You may
  377. know cookie-ops as an annoying way of bots opping
  378. themselves with +o-b bot *!*@fjdifgjdsgiufufdhgfudghfdgfdg,
  379. but, with -fastop (cookie-ops enabled), opping is much
  380. more secure and the chances of someone hijacking the bot
  381. for ops in your channel are much much less. This is
  382. highly recommened to always be set.
  383. See '%dconfig bad-cookie' for punishment options.
  384. $binactive$b This prevents the bot from joining the channel (or
  385. makes it leave the channel if it is already there). It
  386. can be useful to make the bot leave a channel without
  387. losing its settings, channel-specific user flags,
  388. channel bans, and without affecting sharing.
  389. $bmanop$b With this set, users will be able to op anyone
  390. in the channel manually (as opposed to through the bot.)
  391. With this unset, users are forced to op through the bot.
  392. See '%dconfig manop' for punishment options.
  393. $bnodesynch$b Allow non-ops to perform channel modes? This can stop
  394. the bot from fighting with services such as ChanServ, or
  395. from kicking IRCops when setting channel modes without
  396. having ops.
  397. $bnomop$b Users will not be allowed to set more than 3 +o
  398. modes at any given time.
  399. See '%dconfig mop' for punishment options.
  400. $bprivate$b This by far is probably the single most unique and
  401. important feature of this pack. With this set, users with
  402. global +o will not implicitly have access to the channel.
  403. They will need to have channel |o flag to have access.
  404. Users with global +n override this as they should have
  405. control over the entire botnet and where it goes.
  406. Users who lose access to a channel because of this setting
  407. will see no reference to it over the botnet in any place.
  408. $bprotectops$b Re-op a user with the +o flag if they get deopped?
  409. DON'T USE THIS.
  410. $brevenge$b Remember people who deop/kick/ban the bot, valid ops,
  411. or friends and punish them?
  412. $brevengebot$b This is similar to to the 'revenge' option, but it
  413. only triggers if a bot gets deopped, kicked or banned.
  414. $btake$b Once a bot is opped, it will mass op all other bots
  415. in the channel. After that, they will all attempt to
  416. mass deop in hopes 'taking' the channel. :)
  417. $bvoice$b This feature is somewhat experimental. With it set
  418. the +y bot will voice ALL people who join the channel
  419. unless they are +q globally or +q for the channel.
  420. If a botnet master devoices them, they will remain
  421. devoiced no matter who voices them.
  422. $bdynamicbans$b Only activate bans on the channel when necessary?
  423. This keeps the channel's ban list from getting
  424. excessively long. The bot still remembers every ban,
  425. but it only activates a ban on the channel when it sees
  426. someone join who matches that ban.
  427. $buserbans$b Allow bans to be made by users directly? If turned
  428. off, the bot will require all bans to be made through
  429. the bot's console.
  430. $bdynamicexempts$b Only activate exempts on the channel when
  431. necessary? This keeps the channel's exempt list from
  432. getting excessively long. The bot still remembers every
  433. exempt, but it only activates a exempt on the channel
  434. when it sees a ban set that matches the exempt. The
  435. exempt remains active on the channel for as long as the
  436. ban is still active.
  437. $buserexempts$b Allow exempts to be made by users directly? If
  438. turned off, the bot will require all exempts to be made
  439. through the bot's console.
  440. $bdynamicinvites$b Only activate invites on the channel when necessary?
  441. This keeps the channel's invite list from getting
  442. excessively long. The bot still remembers every invite,
  443. but the invites are only activated when the channel is
  444. set to invite only and a user joins after requesting an
  445. invite. Once set, the invite remains until the channel
  446. goes to -i.
  447. $buserinvites$b Allow invites to be made by users directly? If turned
  448. off, the bot will require all invites to be made through
  449. the bot's console.
  450. The following are flood settings, they are set via "%dchanset <channel>
  451. flood-type number:seconds", where number and second are integers
  452. indicating the number of times in how many seconds the flood will be
  453. triggered. Setting one of these to 0:0, 0:1, or 1:0 will deactivate the
  454. respective flood setting.
  455. $bflood-chan$b Set here how many channel messages in how many seconds
  456. from one host constitutes a flood. Setting this to 0 or 0:0
  457. disables text flood protection for the channel.
  458. $bflood-ctcp$b Set here how many channel ctcps in how many seconds from
  459. one host constitutes a flood. Setting this to 0 or 0:0
  460. disables ctcp flood protection for the channel.
  461. $bflood-join$b Set here how many joins in how many seconds from one
  462. host constitutes a flood. Setting this to 0 or 0:0 disables
  463. join flood protection for the channel.
  464. $bflood-kick$b Set here how many kicks in how many seconds from one
  465. host constitutes a flood. Setting this to 0 or 0:0 disables
  466. kick flood protection for the channel.
  467. $bflood-deop$b Set here how many deops in how many seconds from one
  468. host constitutes a flood. Setting this to 0 or 0:0 disables
  469. deop flood protection for the channel.
  470. $bflood-nick$b Set here how many nick changes in how many seconds from
  471. one host constitutes a flood. Setting this to 0 or 0:0
  472. disables nick flood protection for the channel.
  473. These can all be changed simultaneously with $bflood-*$b
  474. See also: %{-}%{+n}+chan, -chan%{-}%{+m|m}, chanset%{-}
  475. :leaf:channel
  476. ### $bchannel$b [channel-name]
  477. Shows you an extensive display of the users on a channel, and
  478. the current channel attributes. By default, it shows you the
  479. channel you are currently viewing on the console, but you can
  480. specify another channel if you wish.
  481. The first line will look like:
  482. Channel #hiya, 8 members, 45 users, mode +tn:
  483. This means that the bot is sitting on channel #hiya, where 8
  484. other irc'ers are. There are 45 people that the bot knows by
  485. hostmask, and the channel mode is +tn. If the bot isn't on
  486. the channel it is supposed to be on, it will say "Desiring
  487. channel #hiya" instead. Next is a list of the users on the
  488. channel, with each entry looking like this:
  489. NICKNAME HANDLE JOIN HOPS IDLE USER@HOST
  490. @kantSF kantSF 14:53 o 2 6m josh@random.edu
  491. The "@kantSF" means that the user's nickname is kantSF and that
  492. he is a chanop. The second "kantSF" is the nickname that the
  493. bot knows him by. Sometimes this will differ from the nickname
  494. a person is using. The time displayed is the time the user
  495. joined the channel. The next field is the attributes:
  496. n - bot owner o - can get ops (+o)
  497. m - bot master or owner f - channel friend
  498. b - another bot d - cannot get ops (+d)
  499. The last field is the user@host he is using irc from.
  500. See also: status, whois
  501. ::channels:
  502. ### $bchannels$b %{+m}[user]%{-}
  503. Displays channels that you have access to, and any important
  504. flags that are set on them.
  505. %{+m}
  506. Masters: You can specify other users to see what channels their
  507. flags grant them access to.%{-}
  508. See also: whois%{+m}, chattr, chaninfo%{-}
  509. ::chanset
  510. ### $bchanset$b <channel> <settings>
  511. Allows you to change the channel settings (see $b'chaninfo'$b for the
  512. settings) for one specific channel or all channels. Use '*' to to apply the
  513. change to all channels.
  514. Changes are used until the next restart, and are saved
  515. whenever the userfile is saved.
  516. See also: %{+n}+chan, -chan%{-}, chaninfo
  517. ::chat
  518. ### $bchat$b <on/off>
  519. ### $bchat$b <[*]channel number/name>
  520. Changes your current channel on the partyline. When you first connect to
  521. the partyline, it places you on channel 0 (the main party line).
  522. Some channels may have assigned names if the assoc module is loaded. For
  523. these, you can specify the channel by name instead of channel number if
  524. you wish.
  525. $b'%dchat off'$b removes you from all channels, including the main party line.
  526. You can still use bot commands and see the console, but you can't talk to
  527. anyone except via $b'%dnote'$b. $b'%dchat on'$b returns you to the main party
  528. line (channel 0) if you were elsewhere.
  529. If you prefix the channel with a '*', you will join a local channel.
  530. See also: console
  531. ::chattr
  532. ### $bchattr$b <handle> [flags] [channel]
  533. This lets you view and change the flags for a user.
  534. For example, to give Lamer the p and f flags:
  535. .chattr Lamer +pf
  536. To remove Denali from the global op list:
  537. .chattr Denali -o
  538. You may also do any combination of the above:
  539. .chattr Fred1 -m+xj-o
  540. You can also change the flags for Usagi on a specific channel by supplying
  541. the channel after the attributes:
  542. .chattr Usagi -m+dk-o #blah
  543. Changing global and channel specific flags within the same command line is
  544. also possible (global +f, +o #lamer):
  545. .chattr Bill f|o #lamer
  546. Whether or not you change any flags, it will show you the user's attributes
  547. afterwards. To get a list of all possible flags, see $b'%dhelp whois'$b.
  548. $bNOTES:$b Only the owner may add or remove the 'a' (admin) or 'n' (owner) flags.
  549. It is pointless to -a a permanent owner.
  550. You must remove the permanent owner in the binary.
  551. See also: whois
  552. :hub:chhandle
  553. ### $bchhandle$b <oldhandle> <newhandle>
  554. Changes the handle of a user. For example, to change the handle of user
  555. 'gavroche' to 'jamie', you would use 'chhandle gavroche jamie'.
  556. Perm owners may not change their handle without recompiling binaries first.
  557. See also: chpass%{+n}, chsecpass%{-}
  558. ::chinfo
  559. ### $bchinfo$b <user> [channel] [info-line/none]
  560. Sets the information line for a user. This line is shown via the /msg
  561. commands $b'who'$b and $b'whois'$b. If you have set greet on, it is also
  562. shown when the user joins the channel. If the info line begins with an '@',
  563. then it is "locked", and that user may no longer change it. If the channel
  564. name is omitted, the default info line is changed. If you specify 'none'
  565. as the info-line, it will be erased.
  566. See also: info
  567. :hub:chnick
  568. See: chhandle
  569. :hub:chpass
  570. ### $bchpass$b <handle> [newpassword|rand]
  571. Changes a user's password. If you do not specify the new password, the user
  572. effectively no longer has a password set. A password is needed to get ops,
  573. join the party line, etc. If the newpassword is 'rand', a random password
  574. will be used.
  575. This has no affect on bots.
  576. See also: chhandle%{+n}, chsecpass%{-}
  577. :hub:chsecpass:
  578. ### $bchsecpass$b <handle> [newpassword|rand]
  579. Changes a user's secpass. If you do not specify the new password, the user
  580. effectively no longer has a password set. A secpass is needed to auth and
  581. login via DCC chat. If the newpassword is 'rand', a random password
  582. will be used.
  583. See also: chhandle, chpass
  584. :leaf:clearqueue
  585. ### $bclearqueue$b <queue>
  586. removes all msgs from the specified queue (mode/server/help/all)
  587. :hub:cmdpass:
  588. ### $bcmdpass$b <command> <pass> [newpassword]
  589. Places the specified pass on the cmd so that the cmd will need to be
  590. followed by the specified pass whenever it is called. For example:
  591. !cmdpass whoami BLAH
  592. [19:32] #bryan# cmdpass whoami ...
  593. Set command password for whoami to 'BLAH'
  594. !whoami
  595. Invalid command password. Use !command password arguments
  596. [19:33] bryan attempted !whoami with missing or incorrect command password
  597. !whoami BLAH
  598. You are bryan@hub.
  599. [19:33] #bryan# whoami
  600. To remove a cmdpass for a cmd, specify the old pass and do not specify a new pass
  601. ** Only permanent owners specified in the binary COMPILE config file **
  602. ** can use this cmd. **
  603. ::color:
  604. ### $bcolor$b <on/off>
  605. Enables or disables misc coloring over DCC. mIRC or ANSI method is
  606. chosen automatically.
  607. See also: console, echo, login, page, strip
  608. ::comment
  609. ### $bcomment$b <user> <comment>
  610. Creates or changes the comment field for a user. The comment field can only
  611. be seen via 'whois' or 'match'. Non-masters cannot see the comment field.
  612. Using the comment 'none' will clear a user's comment.
  613. ::conf:
  614. ### $bconf$b <add|del|change|disable|enable|list|set> [options]
  615. This command is used to modify the bot's local shell config. Only
  616. the first bot listed will be able to perform this command. Using the cmd
  617. on a non-'localhub' will result in an error similar to:
  618. [16:42] #bryan# botcmd wtest2 conf ...
  619. [wtest2] Please use 'wtest' for this login/shell.
  620. Simply use the command on the bot specified.
  621. 'add' uses the same syntax as the conf file:
  622. add <bot> [<ip|.> <[+]host|.> [ipv6-ip]]
  623. ip/host/ipv6-ip are all optional and/or can be replaced with '.'
  624. Newly added bots will start immediately, don't forget to 'newleaf'.
  625. 'del' syntax is:
  626. del <bot>
  627. Deleted bots that are running will be killed.
  628. 'change' syntax is the same as 'add'
  629. 'disable' syntax is:
  630. disable <bot>
  631. The bot will be killed, but not removed from userlist. It will not start again
  632. until you use 'enable' oni t.
  633. 'enable' syntax is:
  634. enable <bot>
  635. The bot is enabled. (Only relevant for disabled bots designated via a prefix of '/')
  636. 'list' shows all the bots currently in the config.
  637. 'set' allows changing some variables in the config.
  638. Using with no parameters will show all changable options.
  639. Simply specifiy the option and new setting as follows:
  640. set <what> [option]
  641. WARNING: Options changed MAY OR MAY not affect bots already running,
  642. it is a good idea to restart all bots on the shell
  643. if you change any of the following:
  644. $bhomedir$b, $bbinpath$b, $bbinname$b, $bportmin$b, $bportmax$b, $bpscloak$b
  645. See also: newleaf
  646. ::console:
  647. ### $bconsole$b [channel] [modes]
  648. Changes your console level so that you will see only the types of console
  649. messages that you want to. Your current console channel is the channel (that
  650. the bot is on) from which you can view from the party line, and which
  651. channel-specific commands (like 'say' and 'op') take affect on.
  652. Valid flags are:
  653. $bj$b joins, parts, quits, and netsplits on the channel
  654. $bk$b kicks, bans, and mode changes on the channel
  655. $bm$b private msgs, notices and ctcps to the bot
  656. $bp$b public text on the channel
  657. $bs$b server connects, disconnects, and notices
  658. %{+m}
  659. Masters only:
  660. $bb$b information about bot linking and userfile sharing
  661. $bd$b misc debug information
  662. $bc$b commands
  663. $bo$b misc info, etc (IMPORTANT STUFF)
  664. $bw$b wallops
  665. %{-}
  666. %{+n}
  667. Owners only (these have to be enabled in the config file via "set raw-log"):
  668. $be$b errors
  669. $bg$b (getin) botnet op/invite/key requests
  670. $bh$b raw share traffic
  671. $br$b raw incoming server traffic
  672. $bt$b raw botnet traffic
  673. $bu$b warnings
  674. $bv$b raw outgoing server traffic
  675. %{-}
  676. %{+o|o}
  677. The mode can also be a modifier like '+p' or '-jk' or '+mp-b'. If you omit
  678. the channel and modes, your current console channel and flags will be shown.
  679. %{-}
  680. %{+m|m}
  681. ### $bconsole$b <user> [channel] [modes]
  682. This is used to set the console level of another user. This can even be used
  683. on users who normally would not be able to set their own console mode.%{-}
  684. See also: color, echo, login, page, strip
  685. ::crontab:
  686. ### $bcrontab$b <status|delete|show|new> [interval]
  687. This command is used to manipulate the crontab entries for the user
  688. that the bot is running on.
  689. 'status' will display the status of the crontab entry for the bot,
  690. for example:
  691. [18:59] #bryan# crontab status
  692. Crontabbed
  693. 'show' will display the current crontab entries, for example:
  694. [18:59] #bryan# crontab show
  695. Showing current crontab:
  696. Result:
  697. 3,8,13,18,23,28,33,38,43,48,53,58 * * * * /usr/home/bryan/hub/hub > /dev/null 2>&1
  698. 1,6,11,16,21,26,31,36,41,46,51,56 * * * * /usr/home/bryan/hub/newhub > /dev/null 2>&1
  699. 'delete' will remove the bot's own crontab entry from the crontab list.
  700. 'new' will make the bot add it's self to the crontab list, although this is done
  701. automatically on startup.
  702. ::cycle:
  703. ### $bcycle$b <channel> [delay]
  704. If done on the hub, makes all linked bots cycle the specified channel.
  705. Otherwise, only the bot it's done on will cycle.
  706. Delay defaults to 10 seconds, which means bots will part and not rejoin
  707. until that time has passed.
  708. See also: down
  709. ::date
  710. ### $bdate$b
  711. Displays the time/date in local and GMT. Also displays which time zone
  712. is being used by the bot for internal logging.
  713. :hub:dccstat
  714. ### $bdccstat$b
  715. Displays a table-format list of all "dcc" connections in use on the bot.
  716. Dcc stands for "Direct Client-to-client Communication", and Eggdrop expands
  717. this to cover every open socket. Any type of network connection to the bot
  718. is considered a "dcc" connection.
  719. The headings of the table are:
  720. $bSOCK$b the socket number of this connection (always unique)
  721. $bADDR$b the ip address mask of the host the bot is connected to, if
  722. applicable
  723. $bPORT$b the port number being used for this connection
  724. $bNICK$b the handle of the user or bot, if applicable
  725. $bHOST$b the hostname corresponding to the IP address, if available
  726. $bTYPE$b the type of dcc connection (see below)
  727. The types of connections currently possible are as follows (but more are
  728. being added all the time):
  729. $bCHAT$b dcc-chat partyline user
  730. $bPASS$b user entering dcc chat (being asked for password)
  731. $bSEND$b user sending a file
  732. $bGET$b sending a file to a user
  733. $bGETP$b pending get (waiting for the user to acknowledge)
  734. $bLSTN$b telnet listening port (in place of a hostname, it will show the
  735. callback procedure name, or a mask of acceptable handles)
  736. $bT-IN$b incoming telnet user (being asked for handle)
  737. $bFILE$b user in dcc-chat file area
  738. $bBOT$b connected bot (botnet connection)
  739. $bBOT*$b pending bot link (waiting for acknowledgement)
  740. $bRELA$b user in relay connection to another bot
  741. $b>RLY$b bot being relay'd to (one for each "RELA")
  742. $bCONN$b pending telnet connection (chat, relay, bot-link, etc)
  743. $bNEW$b new user via telnet (entering a handle)
  744. $bNEWP$b new user via telnet (entering a password)
  745. In addition, 'CHAT' and 'BOT' have flags listed for each connection. Capital
  746. letters mean that the flag is on, and lowercase letters mean that the flag
  747. is off. The flags for 'CHAT' are:
  748. $bC$b in file area, but allowed to return to party line
  749. $bK$b color is on
  750. $bP$b party line access only
  751. $bT$b telnet connection (instead of dcc chat)
  752. $bE$b echo is on
  753. $bP$b paging is on
  754. $b6$b socket is ipv6
  755. The flags for 'BOT' are:
  756. $bP$b ping sent, waiting for reply
  757. $bU$b user-file sharing is active
  758. $bC$b local bot initiated the connection
  759. $bO$b user-file offered, waiting for reply
  760. $bS$b in the process of sending the user-file
  761. $bG$b in the process of getting the user-file
  762. $bW$b warned this bot to stop hubbing
  763. $bL$b leaf-only bot (not allowed to be a hub)
  764. $bI$b bot is currently in the 'linking' stage
  765. $bA$b bot is being aggressively shared with
  766. For 'CHAT' users, the party-line channel is also listed.
  767. ::debug
  768. ### $bdebug$b
  769. Display a dump of memory allocation information, assuming the bot was
  770. compiled with memory debugging. It's useless to anyone but developers
  771. trying to find memory leaks.
  772. ::decrypt
  773. ### $bdecrypt$b <key> <string>
  774. Decrypts the string using the specified key.
  775. See also: encrypt, randstring, md5, sha1
  776. :leaf:deluser
  777. ### $bdeluser$b <nickname>
  778. deletes a user record for a user on the channel, using their
  779. current hostname. Channel masters can remove users so long as
  780. the user isn't a bot master.
  781. Channel masters may only delete users which they added.
  782. see also: adduser%{+m}, +user, -user%{-}
  783. :leaf:deop
  784. ### $bdeop$b <nickname> [channel|*]
  785. will remove chanop from the person you specify, so long as the
  786. bot is opped on that channel, and the person you specify isn't
  787. on the bot's list of authorized chanops. Specify * for all
  788. channels.
  789. See also: op, console
  790. :leaf:devoice
  791. ### $bdevoice$b <nickname> [channel|*]
  792. will remove the +v voice from the person you specify, so long as
  793. the bot is opped on that channel. Specify * for all channels.
  794. ::die
  795. ### $bdie$b [reason]
  796. This kills the bot. The bot goes offline immediately, logging who issued
  797. the 'die' command. You shouldn't have to use this too often. If you specify
  798. a reason, it is logged, otherwise the reason is "authorized by <handle>".
  799. See also: suicide, conf
  800. ::dns
  801. ### $bdns$b <hostname/ip/flush>
  802. Resolves the given hostname/ip
  803. If "flush" is the specified hostname, the cache will be flushed.
  804. ::down:
  805. ### $bdown$b <channel>
  806. All linked bots will deop themselves in the specified channel. They
  807. will not reop for 10 seconds.
  808. See also: cycle
  809. :hub:downbots
  810. ### $bdownbots$b
  811. Shows the list of bots that are NOT currently linked to the botnet.
  812. Example:
  813. Down bots: cEvin, ruthie, Killa1
  814. See also: bots
  815. :leaf:dump
  816. ### $bdump$b <text>
  817. dumps the text to the server. keep in mind that this bot doesn't
  818. run through ircII, so ircII commands will most likely not work this
  819. way. they need to be raw irc codes. read rfc1459 from ftp.internic.net
  820. for more help.
  821. '$n' is replaced with the bot's irc nickname.
  822. ::echo
  823. ### $becho$b <on/off>
  824. Specifies whether you want your messages echoed back to you. If it's on,
  825. then when you say something on the party line, it will be displayed to you
  826. just like everyone else will see it. If it's off, then it won't happen.
  827. See also: color, console, login, page, strip
  828. ::encrypt
  829. ### $bencrypt$b <key> <string>
  830. Encrypts the string using the specified key.
  831. See also: decrypt, randstring, md5, sha1
  832. ::exec:
  833. ### $bexec$b <params>
  834. The bot will execute the specified program with each param specified,
  835. and display the results over DCC.
  836. ::exempts
  837. ### $bexempts$b [[channel/all]/wildcard]
  838. Shows you a list of the global exempts active on the current channel, and
  839. the list of channel-specific exempts, as well as any exempts that are on the
  840. channel but weren't placed by the bot.
  841. Here's a sample entry;
  842. ! [ 3] *!test@test.com (perm)
  843. Wcc: requested
  844. Created 01:15
  845. The number (3) can be used to reference the exempt if you wish to remove it
  846. (see $b'-exempt'$b). Next is the actual hostmask being exempted. The "(perm)"
  847. means that the exempt is "permanent": that is, it doesn't automatically
  848. expire. If there is an elapsed time showing instead, the time displayed is
  849. how long the exempt has been active. These types of exempts expire after one
  850. hour. The second line of the exempt entry is the comment ("requested"), and
  851. who set the exempt (Wcc). The last line shows when the exempt was added, and
  852. possibly the last time the exempt was activated on the channel (if it's
  853. different from the creation time).
  854. Sometimes there will be a "!" or "*" right before the number. A "!" means
  855. the exempt is in the bot's exempt list, but is not currently on the channel.
  856. A "*" marks an exempt which is NOT in the bot's exempt list but IS on the
  857. channel.
  858. If you use 'exempts' without an argument, it will show you only the exempts
  859. which are currently active on the channel. If you use 'exempts all', it will
  860. show you every exempt in the global exempt list and on the channel. If you
  861. use 'exempts <wildcard>', it will list all exempts (active or not) that
  862. match against your wildcard. Consider it a 'exempts all' list matched
  863. against your wildcard.
  864. The exempt list may change according to which channel you're currently
  865. viewing in the console. Different exempts may be active on different
  866. channels. If you specify a channel name, that channel will be used instead
  867. of your current console channel.
  868. See also: -exempt, +exempt, console%{+m|m}, chanset, chaninfo%{-}, stick, unstick
  869. :leaf:find:
  870. ### $bfind$b <nick!ident@host.com>|<user>
  871. The bot will search through all of it's channel records and look
  872. for the specified hostmask. Wildcards are accepted; '*' for 1 or more
  873. characters, or '?' for exactly 1 character.
  874. If a username is specified, then the user is searched for in all the channel
  875. lists.
  876. ::fixcodes
  877. ### $bfixcodes$b
  878. This is for use in situations where the bot gets mixed up about the type
  879. of connection you have with it. For example, you /CTCP CHAT the bot and
  880. it thinks you are connecting via telnet, and you see text displayed as
  881. "Local time is now 17:17" for example instead of "Local time is
  882. now 17:17". Use this to turn telnet codes on or off/change the display
  883. mode.
  884. ::fwd
  885. ### $bfwd$b <handle> [desto]
  886. This allows you to set a note forwarding address for a user,
  887. this means if a note needs to be stored for the user, the
  888. bot will attempt to pass it on to the given user@bot, if
  889. the bot is not online then the note is still stored locally,
  890. if the other user doesn't exist, the note is lost. Boohoo.
  891. :leaf:getkey:
  892. ### $bgetkey$b [channel]
  893. If there is a key set for channel, it is displayed. If channel is not
  894. specified, your console channel is used.
  895. See also: console, channels%{+m}, status%{-}
  896. ::handle
  897. ### $bhandle$b <new-handle>
  898. Changes your handle on the bot. This is the handle (nickname) that the
  899. bot will know you as from this point forward. It is used to log into the
  900. bot.
  901. Perm owners may not change their handle without recompiling binaries first.
  902. See also: newpass%{+mi}, chhand, chpass%{-}%{+n}, chsecpass%{-}
  903. ::help:
  904. ### $bhelp$b [cmd]
  905. Alone, will show all cmds that match your flags. With a cmd it will show
  906. the help entry, such as you see here. Specifying a wildcard will display
  907. a list of cmds (matching your flags) that match that wildcard. Use '*'
  908. to match 1 or more characters, and '?' to match exactly one character.
  909. :hub:hublevel:
  910. ### $bhublevel$b <hub-bot> <level>
  911. Sets the hublevel for the specified hub. This command is not recommended
  912. for use by anyone. Instead you should change your COMPILE config file
  913. and update your net with new binaries.
  914. See also: uplink, chaddr
  915. ::ignores
  916. ### $bignores$b [wildcard]
  917. Shows a list of hostmasks from which the bot is currently ignoring msgs,
  918. notices, etc. There are two types of ignores: permanent and temporary.
  919. Permanent ignores never automatically expire. You must use $b'%d-ignore'$b
  920. to remove them.
  921. Here is a sample permanent ignore:
  922. [ 1] *!*@217.156.44.184 (perm)
  923. Wcc: go away
  924. Started 523 days ago
  925. The number (1) can be used to reference the ignore if you wish to remove it
  926. (see $b'%dhelp -ignore'$b). Next is the actual hostmask being ignored. The
  927. "(perm)" means that the ignore is "permanent": that is, it doesn't
  928. automatically expire. The second line of the ignore entry is the comment
  929. ("go away"), and who set the ban (Wcc). The last line shows when the ignore
  930. was added.
  931. Here is a sample temporary ignore:
  932. [ 10] blah!blah@blah.cc (expires in 1 day)
  933. Wcc: requested
  934. Started 18:02
  935. Here, you see the "perm" in the parentheses next to the hostmask is instead
  936. an expire time. This means that the ignore will expire automatically in one
  937. day.
  938. If you use $b'%dignores <wildcard>'$b, it will list all the ignores
  939. that match against your wildcard.
  940. See also: +ignore, -ignore
  941. ::info
  942. ### $binfo$b [channel] [info-line]
  943. Sets your info line. This line is shown via the /msg commands $b'who'$b and
  944. $b'whois'$b. If you have set greet on, it is also shown when you join the
  945. channel. If the info line begins with an '@', then it is "locked", and you
  946. may no longer change it.
  947. %{+m|m}See also: chinfo%{-}
  948. :leaf:invite
  949. ### $binvite$b <nickname> [channel|*]
  950. invites someone from irc into your current console channel (or
  951. specified other channel). This is most useful when the channel
  952. is +i. a user with the +o flag can also request an invite from
  953. the bot with /MSG INVITE. Specify * for all channels.
  954. See also: console, iop
  955. ::invites
  956. ### $binvites$b [[channel/all]/wildcard]
  957. Shows you a list of the global invites active on the current channel, and
  958. the list of channel-specific invites, as well as any invites that are on the
  959. channel but weren't placed by the bot.
  960. Here's a sample entry;
  961. ! [ 3] *!test@test.com (perm)
  962. Wcc: requested
  963. Created 01:15
  964. The number (3) can be used to reference the invite if you wish to remove it
  965. (see $b'-invite'$b). Next is the actual hostmask being invited. The "(perm)"
  966. means that the invite is "permanent": that is, it doesn't automatically
  967. expire. If there is an elapsed time showing instead, the time displayed is
  968. how long the invite has been active. These types of invites expire after one
  969. hour. The second line of the invite entry is the comment ("requested"), and
  970. who set the invite (Wcc). The last line shows when the invite was added, and
  971. possibly the last time the invite was activated on the channel (if it's
  972. different from the creation time).
  973. Sometimes there will be a "!" or "*" right before the number. A "!" means
  974. the invite is in the bot's invite list, but is not currently on the channel.
  975. A "*" marks an invite which is NOT in the bot's invite list but IS on the
  976. channel.
  977. If you use 'invites' without an argument, it will show you only the invites
  978. which are currently active on the channel. If you use 'invites all', it will
  979. show you every invite in the global invite list and on the channel. If you
  980. use 'invites <wildcard>', it will list all invites (active or not) that
  981. match against your wildcard. Consider it a 'invites all' list matched
  982. against your wildcard.
  983. The invite list may change according to which channel you're currently
  984. viewing in the console. Different invites may be active on different
  985. channels. If you specify a channel name, that channel will be used instead
  986. of your current console channel.
  987. See also: -invite, +invite, console%{+m|m}, chanset, chaninfo%{-}, stick, unstick
  988. :leaf:iop
  989. ### $biop$b <nickname> [channel|*]
  990. same as normal invite, except auto-ops them when they join.
  991. See also: console, invite
  992. :leaf:jump
  993. ### $bjump$b [server [port [pass]]]
  994. Makes the bot jump to another server. If you don't specify a
  995. server, it will jump to the next server in it'ss internal list (see
  996. $b'help config'$b). If you specify a server, it will jump to that
  997. server (default port is 6667), and if that server is not in the
  998. internal list already, it will add it (until the bot relinks).
  999. Jumping servers ALWAYS makes the bot lose ops! be careful!
  1000. See also: botjump, servers, botserver
  1001. :leaf:kick
  1002. ### $bkick$b [channel|*] <nickname> [reason]
  1003. Will kick a user off your current console channel (or specified
  1004. other channel) with the comment given. if you omit the reason,
  1005. the default kick comment is "requested". Specify * for all
  1006. channels.
  1007. See also: kickban, console
  1008. :leaf:kickban
  1009. ### $bkickban$b [channel|*] [-|@]<nickname> [comment]
  1010. kicks a user off the channel and bans her by a reasonable host-
  1011. mask. your nickname will be attached to the ban in the bot's
  1012. internal ban list, and the ban will last for whatever is set in
  1013. ban-time -- only on this channel. use $b'%d+ban'$b for a more
  1014. permanent ban which will be activated on every channel the bot
  1015. monitors. if you use a comment, that will also be attached to
  1016. the ban in the ban list, and used as the kick comment. Specify
  1017. * for all channels.
  1018. appending a prefix of ! or @ to a nickname changes the ban
  1019. mask used:
  1020. e.g. with a host of nick!ident@host.name.domain
  1021. command banmask
  1022. .kickban nick *!*dent@*.name.domain
  1023. .kickban -nick *!*dent@host.name.domain
  1024. .kickban @nick *!*@host.name.domain
  1025. with a host of nick!~ident@host.name.domain (strict-host set to 1)
  1026. command banmask
  1027. .kickban nick *!*ident@*.name.domain
  1028. .kickban -nick *!*ident@host.name.domain
  1029. See also: +ban, bans, stick
  1030. :hub:lagged:
  1031. ### $blagged$b
  1032. Displays the bot's internal ping list of bots linked to it.
  1033. If a pingtime goes over 30 seconds, it is delinked for
  1034. ping timeout.
  1035. See also: netlag
  1036. ::last:
  1037. ### $blast$b
  1038. Displays the 'last' output from the shell the bot is running on,
  1039. for the user it is running as.
  1040. %{+i}See also: netlast%{-}
  1041. :hub:link
  1042. ### $blink$b [via-bot] <bot-to-link>
  1043. Attempts to link to another hub. This command is deprecated and not
  1044. recommended for use.
  1045. See also: unlink, newleaf%{+a}, -bot%{-}
  1046. ::login
  1047. ### $blogin$b <banner|bots|channels|whom> [on/off]
  1048. Sets various login options.
  1049. Not specifying on/off will display what the setting is the for the specified
  1050. login entry.
  1051. See also: echo, color, console, page, strip, whois
  1052. ::match
  1053. ### $bmatch$b <attr> [channel] [[start] limit]
  1054. This displays all user records with the attributes requested.
  1055. "attr" is of the form: <+/-><global>[&/|<channel>[&/|<bot>]]
  1056. Specifying "&" as the separator will cause AND style matching.
  1057. For example:
  1058. %dmatch p&o
  1059. This will match all users with both the "p" global flag and the "o" channel
  1060. flag on your current console channel.
  1061. Specifying "|" as the separator will cause OR style matching.
  1062. For example:
  1063. %dmatch p|o
  1064. This will match all users with either the "p" global flag or the "o" channel
  1065. flag on your current console channel. If you specify a channel, it will be
  1066. used instead of the current console channel.
  1067. For example:
  1068. %dmatch p|o #eggdrop
  1069. This will match all users with either the "p" global flag or the "o" channel
  1070. flag on the channel #eggdrop. You can also match bot flags.
  1071. For example:
  1072. %dmatch o|o|h
  1073. This will match all bots with either the "o" global flag, the "o" channel
  1074. flag on the current console channel, or the "h" botflag. You can also limit
  1075. the number of total results returned by specifying a limit at the end of the
  1076. command. A starting point can also be specified.
  1077. For example:
  1078. %dmatch p&o #eggdrop 16 25
  1079. This would show results 16 through 25 matching any users with the "p" global
  1080. flag or the "o" channel flag on #eggdrop.
  1081. ### $bmatch$b <wildcard-string> [[start] limit]
  1082. This displays all user records where the user's handle or any of the user's
  1083. hostmasks match the specified wildcard string. You can also limit the number
  1084. of total results returned by specifying a limit at the end of the command. A
  1085. starting point can also be specified.
  1086. For example:
  1087. %dmatch *.edu 16 25
  1088. This would show results 16 through 25 matching any users with a hostmask
  1089. that ends with ".edu".
  1090. See also: matchbot
  1091. ::matchbot
  1092. ### $bmatchbot$b
  1093. Matches bots.
  1094. See: match
  1095. ::md5
  1096. ### $bmd5$b <string>
  1097. Returns the MD5 hash of the specified string.
  1098. See also: randstring, sha1, encrypt, decrypt
  1099. :leaf:mdop:
  1100. ### $bmdop$b <#channel> [bots=n] [alines=n] [slines=n] [overlap=n] [bitch] [simul]
  1101. For those of us who do not wish to be rocket scientists in the mdop department,
  1102. a simple '%dmdop #channel' will suffice.
  1103. **Remember, the bot you mdop on will never participate in the deopping**
  1104. options:
  1105. $bbitch$b - set +bitch after finished with mdop.
  1106. $bsimul$b - Simulates the mdop. IE: Gives you a practice run, will show who
  1107. does what in the dcc chat window.
  1108. =============================================================================
  1109. don't bother setting the following options unless you REALLY know what you're
  1110. doing, and don't bother messaging me asking me how to use them if you don't.
  1111. =============================================================================
  1112. $bbots$b - Number of bots to use for mdop.
  1113. $balines$b - Number of MODE lines to assume each participating bot will get through.
  1114. $bslines$b - Number of MODE lines each participating bot will send.
  1115. $boverlap$b - Number of times to deop each target nick (using alines for calc).
  1116. bots, alines, slines and overlap are dependant on each other, set them wrong and
  1117. the bot will complain.
  1118. Defaults are alines=3, slines=5, overlap=2. alines will be increased up to 5 if
  1119. there are not enough bots available.
  1120. ::me
  1121. ### $bme$b <text>
  1122. Performs an action on the party line. This appears as "* Wcc is leaving",
  1123. etc.
  1124. :leaf:mop:
  1125. ### $bmop$b [channel|*]
  1126. Bot will op all users in the specified channel that are valid ops
  1127. for the channel. If '*' is specified, the bot will scan all channels
  1128. and op all users in all channels that are valid ops in each chan. If
  1129. no channel is specified, the console channel is used.
  1130. See also: whois, console
  1131. ::motd
  1132. ### $bmotd$b %{+m}<message>%{-}
  1133. This redisplays the partyline Message Of The Day, which was shown when you
  1134. first joined the partyline.
  1135. %{+m}+m: Inclue a message to set the motd.%{-}
  1136. :leaf:msg
  1137. ### $bmsg$b <nickname> <text>
  1138. Sends a private message to someone from the bot, just as if the
  1139. bot had typed /msg.
  1140. See also: botmsg%{+n}, netmsg%{-}
  1141. :hub:netcrontab:
  1142. ### $bnetcrontab$b <status|delete|show|new> [interval]
  1143. Runs the specified command on all linked bots.
  1144. See: crontab
  1145. :hub:netlag:
  1146. ### $bnetlag$b
  1147. Pings all bots over botnet, and displays results.
  1148. See also: lagged
  1149. :hub:netlast:
  1150. ### $bnetlast$b
  1151. All bots on the botnet will display an output from 'last' on
  1152. the user that they are currently running as.
  1153. See also: last
  1154. ::netmsg:
  1155. ### $bnetmsg$b <nickname|#chan> <text>
  1156. All bots on the botnet will send a msg to the specified target.
  1157. See also: botmsg, msg
  1158. ::netnick:
  1159. ### $bnetnick$b
  1160. All bots on the botnet will display their nick over DCC.
  1161. See also: botnick
  1162. :hub:netps:
  1163. ### $bnetps$b [ps-param]
  1164. Will run 'ps' on each bot on the botnet and returned the
  1165. results. If a params are specified, each bot will use those
  1166. on 'ps'.
  1167. See also: ps
  1168. :hub:netrontab:
  1169. ### $bnetcrontab$b <status|delete|show|new> [interval]
  1170. Runs the specified crontab command on all linked bots.
  1171. See: crontab
  1172. ::netserver:
  1173. ### $bnetservers$b
  1174. All bots on the botnet will display their current server and lag
  1175. to that server over DCC.
  1176. See also: botserver, servers%{+n}, config%{-}
  1177. ::netversion:
  1178. ### $bnetversion$b <bot>
  1179. All bots on the botnet will display their pack version, and uname.
  1180. See also: botversion, version, about%{+m|m}, status%{-}
  1181. :hub:netw:
  1182. ### $bnetw$b
  1183. All bots on the botnet will run 'w' on their shell and display
  1184. the results over DCC.
  1185. See also: w
  1186. :hub:newleaf:
  1187. ### $bnewleaf$b <handle> [hostmask] [anotherhostmask] ...
  1188. Adds a new leaf to the botnet with the specified handle and hostname.
  1189. Any number of hosts can be specified in the cmd. You will need to
  1190. add a hostmask for the bot's ip for it to connect over DCC.
  1191. The binary config botline will also be outputted, but should be
  1192. checked for correctness.
  1193. ::newpass
  1194. ### $bnewpass$b <password|rand>
  1195. Changes your password on the bot. This is similar to the '/msg <bot> pass'
  1196. command, except you don't need to specify your old password. If the
  1197. newpassword is 'rand', a random password will be used.
  1198. %{+mi}See also: chpass%{-}%{+n}, chsecpass%{-}
  1199. ::nick
  1200. See: handle
  1201. :hub:nopass
  1202. ### $bnopass$b [anything]
  1203. Displays all users who do not have a password set.
  1204. Specify any argument to give random passes to users.
  1205. ::note
  1206. ### $bnote$b <nickname[@bot]> <message>
  1207. Sends a private note to a user on the partyline. If that user is currently
  1208. logged in and not marked as away, the message will be received immediately.
  1209. Otherwise, it will be stored and displayed the next time that user joins the
  1210. partyline. To send a note to someone on a different bot, add "nick@bot" to
  1211. the nickname.
  1212. See also: whom, notes
  1213. ::notes
  1214. ### $bnotes index$b
  1215. ### $bnotes read$b <# or ALL>
  1216. ### $bnotes erase$b <# or ALL>
  1217. lets you manipulate notes that have been stored up for you while
  1218. you were gone. $b'notes index'$b gives a listing of all the notes
  1219. stored up: who they are from, and when they were left.
  1220. $b'notes read'$b lets you read some or all notes, according to a
  1221. list of numbers and/or intervals separated by semicolon.
  1222. and $b'notes erase'$b erases notes after you are done with them.
  1223. ex: notes erase 2-4;8;16-
  1224. See also: note, whom, noteigns
  1225. :leaf:op
  1226. ### $bop$b <nickname> [channel|*]
  1227. will grant chanop to the person you specify, so long as the bot
  1228. is opped on that channel, and the person you specify isn't being
  1229. actively deopped by the bot. Specify * for all channels.
  1230. See also: deop, console
  1231. ::page
  1232. ### $bpage$b <number/off>
  1233. This allows you to slow down the number of lines the bot sends you at once
  1234. via the partyline. When enabled, any commands that send greater than the
  1235. specified number of lines will stop when that number is reached and wait for
  1236. you to type another command (or press enter) to continue. If you have too
  1237. many pending lines, you may be booted off the bot.
  1238. See also: color, console, echo, login, strip
  1239. ::ps:
  1240. ### $bps$b [ps-param]
  1241. Will run 'ps' on the bot's shell and display any results. If
  1242. any params are specified, they will be used.
  1243. %{+i}See also: netps%{-}
  1244. ::quit
  1245. ### $bquit$b [comment]
  1246. This disconnects you from the partyline. If you specify a comment, it will
  1247. be displayed to other partyline users as you leave.
  1248. ::randstring
  1249. ### $brandstring$b <len>
  1250. Displays a random string of length 'len' up to 300 chars.
  1251. See also: md5, sha1, encrypt, decrypt
  1252. ::rehash
  1253. ### $brehash$b
  1254. Reloads config data from binary. (Probably won't be needed as this is automatically
  1255. updated after editing the binary with -C
  1256. See also: restart
  1257. ::relay
  1258. ### $brelay$b <bot>
  1259. Relays you via telnet to another bot, whether or not it is currently linked.
  1260. The local bot must, however, have a bot record for the bot you wish to
  1261. relay to. Typing .quit or "*bye*" on a line by itself will end the relay.
  1262. See also: bots%{+n}, newleaf%{-}%{+a}, -bot%{-}
  1263. ::reload
  1264. ### $breload$b
  1265. Reloads the bot's user file, discarding any changes made since the last
  1266. $b'%dsave'$b command or hourly user file save.
  1267. See also: save
  1268. :leaf:reset
  1269. ### $breset$b [channel]
  1270. clears out the bot's channel information and makes it gather the
  1271. information from the server all over again, as if it had just
  1272. joined that channel. it's not really useful much, but could be
  1273. if an odd bug causes the channel information to get scrambled.
  1274. unfortunately this command used to get a lot of use. you can omit
  1275. the channel name to make it reset ALL channels.
  1276. See also: resetbans, resetexempts, resetinvites
  1277. :leaf:resetbans
  1278. ### $bresetbans$b [channel]
  1279. resets the bot's ban list for the channel. any bans on the channel
  1280. that aren't in the ban list (either the global list or the local
  1281. channel ban list) will be removed, and if there are any bans in the
  1282. global ban list or channel ban list that are not currently on the
  1283. channel, they will be added.
  1284. See also: bans, console%{+m|m}, reset%{-}
  1285. :leaf:resetexempts
  1286. ### $bresetexempts$b [channel]
  1287. resets the bot's exemption list for the channel. this command
  1288. behaves exactly like resetbans, except it is for exempts.
  1289. See also: resetbans, resetinvites
  1290. :leaf:resetinvites
  1291. ### $bresetinvites$b [channel]
  1292. resets the bot's invitation list for the channel. this command
  1293. behaves exactly like resetbans, except it is for invites.
  1294. See also: resetbans, resetinvites
  1295. ::restart
  1296. ### $brestart$b
  1297. Makes the bot restart, but keeps it's connection to IRC active.
  1298. See also: rehash, reload, save
  1299. :hub:save
  1300. ### $bsave$b
  1301. This makes the bot write its entire userfile to disk. This is useful if you
  1302. think the bot is about to crash or something, since the user file is only
  1303. written to disk about once an hour.
  1304. See also: reload, backup
  1305. :leaf:say
  1306. ### $bsay$b [channel] <text>
  1307. dumps the text to your current console channel (or other specified
  1308. channel), as if the bot "said" it.
  1309. ::secpass:
  1310. ### $bsecpass$b <password|rand>
  1311. Changes your secpass on the bot. This is used for Authing via /msg
  1312. and for DCC. If the password is 'rand', a random password will be used.
  1313. %{+mi}See also: chpass%{-}%{+n}, chsecpass%{-}
  1314. :leaf:servers
  1315. ### $bservers$b
  1316. lists the servers that the bot has in its server list. this is
  1317. the list it rotates through when changing servers. it starts
  1318. with a static list which it loads from its config-file when the
  1319. bot is booted up. after that, you can add servers with the
  1320. $b'%djump'$b command. the server list will indicate which server the
  1321. bot is currently on.
  1322. :hub:set:
  1323. ### $bset$b [<+/->list] [<var> [data|-]]
  1324. Sets various options. Type alone to see all set entries. To set
  1325. an entry do '%dset name VALUE'. Use '-' as a value to clear an entry.
  1326. The '+' may be used to add 1 element to a comma separated list. (ie, servers)
  1327. The '-' may be used to remove 1 element from a comma separated list. (ie, servers)
  1328. The 'list' may be used to list a comma separated variable as a vertical listing. (like %dservers)
  1329. Current variables:
  1330. $uB$u: Boolean (0 or 1)
  1331. $uS$u: String
  1332. $uN$u: Number
  1333. $uL$u: List capable
  1334. $uR$u: Rate. Set as 'number:interval', ie, '1:5'
  1335. $uD$u: Detected vars have the folloing options: $bignore$b/0, $bwarn$b/1, $bdie$b/2,
  1336. $breject$b/3, $bsuicide$b/4
  1337. [SL] $balias$b List of dcc aliases in format '<alias> <cmd> [parms]'. First
  1338. matching alias is used. Normal flag checking is done
  1339. after the alias is expanded.
  1340. $fCAUTION: TRIPPLE CHECK FOR POSSIBLE LOOPS AS THEY ARE FATAL.$f
  1341. [S] $bchanset$b List of default options for when a channel is added. Same format
  1342. as 'chanset'.
  1343. [N] $bserver-port$b Default port to use for server connections.
  1344. [S] $bauth-key$b The authkey used during authing.G ive to users if they need to auth.
  1345. (can be bot specific)
  1346. [C] $bauth-prefix$b The prefix character used for msg cmds, ie: $u!$uop or $u.$uop
  1347. [B] $bauth-obscure$b Will not halt on dcc login if pass is wrong. Will display auth hash..
  1348. Will always fail at hash though.
  1349. [N] $bdcc-autoaway$b Time in seconds until a user is set auto-away on dcc.
  1350. (0/- to disable)
  1351. [B] $bmean-kicks$b Enables 'mean' and 'offensive' kick msgs.
  1352. [B] $bmanop-warn$b Warn users via /NOTICE when they msg-op in a channel with manop
  1353. punishments.
  1354. * Msg cmd vars may be left blank to disable usage of cmd.
  1355. [S] $bmsgop$b Defines the cmd for opping via msging the bot.
  1356. [S] $bmsgpass$b Defines the cmd for setting a pass via msging the bot.
  1357. [S] $bmsginvite$b Defines the cmd for requesting invite via msging the bot.
  1358. [S] $bmsgident$b Defines the cmd for identing via msging the bot.
  1359. [N] $bfork-interval$b Number of seconds in between each fork() call made by the bot.
  1360. (Resets PID/CPU)
  1361. [R] $bflood-msg$b Msgs:Secs until a host is ignored. (0:0 to disable)
  1362. [R] $bflood-ctcp$b Ctcps:Secs until a host is ignored. (0:0 to disable)
  1363. [R] $bflood-g$b Msgs:Secs until triggering to set +g for 60 seconds (0:0 to disable)
  1364. [D] $blogin$b How to handle someone logging in to the shell.
  1365. [D] $btrace$b How to handle someone tracing/debugging the bot.
  1366. [D] $bpromisc$b How to handle when a interface is set to promiscuous mode.
  1367. [D] $bbad-process$b How to handle when a running process not listed in process-list
  1368. is detected.
  1369. [SL] $bprocess-list$b Comma-separated list of "expected processes" running on the bots uid.
  1370. [D] $bhijack$b How to handle when a commonly used hijack method attempt is detected.
  1371. [SL] $bservers$b Comma-separated list of servers the bot will use.
  1372. [SL] $bservers6$b Comma-separated list of servers the bot will use (FOR IPv6).
  1373. [S] $brealname$b The bot's "real name" when connecting.
  1374. [S] $bnick$b The bot's preferred nickname on IRC.
  1375. [B] $bdccauth$b Boolean (0 or 1). Set to use auth checking on dcc/telnet login.
  1376. [N] $bop-bots$b Number of bots to ask every time a oprequest is to be made.
  1377. [N] $bin-bots$b Number of bots to ask every time a inrequest is to be made.
  1378. [R] $bop-requests$b (requests:seconds) limits how often the bot will ask for ops.
  1379. [R] $bclose-threshold$b (H:L) When at least H hubs but L or less leafs are linked, close
  1380. all channels.
  1381. [N] $blag-threshold$b Maximum acceptable server lag for the bot to send/honor requests.
  1382. [N] $bkill-threshold$b When more than this many bots have been killed/klined in the last
  1383. minute, close all channels.
  1384. [N] $bfight-threshold$b When more than this many +ob/-ob/kicks have happened on a channel in
  1385. 1 minute, the channel is closed.
  1386. [N] $bcloak-script$b Decides which script the bot cloaks as.
  1387. If set to 0, a random script will be used.
  1388. 1=plain bitchx, 2=crackrock, 3=neonapple, 4=tunnelvision,
  1389. 5=argon, 6=evolver, 7=prevail 8=cypress 9=mIRC
  1390. * $bExamples$b:
  1391. '%dset realname I have no realname, I'm a bot!'
  1392. '%dbotset wraith realname The best pack evar!'
  1393. '%dset +servers irc.efnet.org'
  1394. '%dset -servers irc.efnet.org'
  1395. '%dset list servers'
  1396. '%dset -servers 10'
  1397. '%dbotset wraith nick -'
  1398. See also: botset
  1399. ::sha1
  1400. ### $bsha1$b <string>
  1401. Returns the SHA1 hash of the specified string.
  1402. See also: randstring, md5, encrypt, decrypt
  1403. ::simul
  1404. ### $bsimul$b <handle> <text>
  1405. This allows you to simulate the specified handle typing the given text.
  1406. For example:
  1407. %dsimul dweeb%d.quit
  1408. This would appear just as if "dweeb" typed "%dquit". This command will not
  1409. work unless eggdrop has simul enabled in the config file.
  1410. See also: su
  1411. ::slowjoin:
  1412. ### $bslowjoin$b <channel> <interval-seconds> [channel-options]
  1413. All bots on the botnet will join the channel at the rate of one bot
  1414. per 'interval-seconds'. If any channel-options are specified, the
  1415. channel will be added with those options. If the channel is set
  1416. +take, when just 1 bot is opped, the rest of the botnet will
  1417. immediately join and proceed to 'take'. :)
  1418. See also: slowpart, chanset, chaninfo
  1419. ::slowpart:
  1420. ### $bslowpart$b <channel> <interval-seconds>
  1421. All bots on the botnet will part the specified channel at the rate
  1422. of one bot per 'interval-seconds'
  1423. %{+n}See also: slowjoin%{-}
  1424. ::status
  1425. ### $bstatus$b
  1426. ### $bstatus all$b
  1427. Displays a condensed block of status information about the bot.
  1428. is running. For example:
  1429. [01:15] #bryan# status
  1430. I am wtest, running [wraith] Wraith 1.2.3-cvs: 274 users
  1431. Online for 00:33 (terminal mode) CPU 00:01 cache hit 28.3%
  1432. OS: Linux 2.4.30
  1433. Running from: /home/wheel/bryan/.sshrc
  1434. uid: bryan (1000) pid: 25114 homedir: /home/wheel/bryan
  1435. Tempdir : /home/wheel/bryan/.ssh/.../
  1436. Channels: #|DAWG|Net, #|DAWG|Tcl
  1437. Online as: D|Anakha!wcc@cia.nu (|DAWG|Anakha - |DAWG|Net)
  1438. Server irc.inet.tele.dk:6667 (connected for 11 days)
  1439. #|DAWG|Net: 6 members, enforcing "+istn" (lurking)
  1440. #|DAWG|Tcl: 42 members, enforcing "+tn" (lurking)
  1441. The first line tells you the bot's name, what version of Eggdrop it's
  1442. running, the number of users the bot has records of, and the amount of
  1443. memory being used by the userfile. The second line tells you the uptime of
  1444. the bot, CPU time, and cache hit. The third shows the bot's admin, and the
  1445. forth shows its current config file. The fifth line shows what operating
  1446. system the bot is running on. The next two lines show Tcl information. If
  1447. debug mode is enabled, additional info may be shown. Sharing information
  1448. will also be shown if it's being used.
  1449. Select information from modules will be displayed after the core
  1450. information. If you use $b'%dstatus all'$b instead, you will see all status
  1451. information available from loaded modules.
  1452. See also: channel, channels%{+a}, debug%{-}
  1453. ::stick
  1454. ### $bstick$b [ban/exempt/invite] <hostmask/number> [channel]
  1455. Makes a ban, exempt, or invite "sticky". This means that the bot will always
  1456. try to keep it active on the channel. Obviously, if the channel isn't using
  1457. dynamic bans, this has no effect.
  1458. See also: bans, exempts, invites, unstick, +ban, +exempt, +invite
  1459. ::store
  1460. ### $bstore$b
  1461. Stores your console settings so that they are restored automatically the
  1462. next time you join the party line. ('console' calls this auto)
  1463. See also: console
  1464. ::strip
  1465. ### $bstrip$b [modes]
  1466. Allows you to remove embedded 'attribute' codes your partyline output. Valid
  1467. options are:
  1468. $bb$b - remove all boldface codes
  1469. $bc$b - remove all color codes
  1470. $br$b - remove all reverse video codes
  1471. $bu$b - remove all underline codes
  1472. $ba$b - remove all ANSI codes
  1473. $bg$b - remove all ctrl-g (bell) codes
  1474. The mode can also be a modifier like '+c' or '-bu' or '+ru-c'. If
  1475. you omit modes, it will show your current setting.
  1476. See also: fixcodes, color, echo, login, page
  1477. %{+m}
  1478. ### $bstrip$b <user> [modes]
  1479. Set the strip level of another user. A master can't set their own strip
  1480. flags without prefixing the modes with a '+' or '-'.%{-}
  1481. ::su
  1482. ### $bsu$b <user>
  1483. Lets you assume the identity of another user. If you are a global owner,
  1484. this does not require a password. Otherwise, you will be asked for the
  1485. user's password. $b%dquit$b returns you to your original handle.
  1486. ::suicide
  1487. ### $bsuicide$b [reason]
  1488. Makes bot remove itself and then dies. If bot is first bot in it's binary
  1489. it will kill all bots running for that binary.
  1490. See also: die, conf
  1491. :leaf:swhois
  1492. ### $bswhois$b [server/nick] <nick>
  1493. Displays a server /whois for the specified nick. Specifying
  1494. the nick twice will display idle time. Specifying a server will
  1495. display the whois as viewed by that server.
  1496. If the nick is currently not online, a /WHOWAS is done automatically.
  1497. See also: find
  1498. :leaf:topic
  1499. ### $btopic$b <text>
  1500. changes the channel's topic, assuming the bot is a chanop or the
  1501. channel is not +t (uses your current console channel).
  1502. See also: console
  1503. :hub:trace
  1504. ### $btrace$b <bot>
  1505. Sends out a trace signal to another bot. If/when the trace signal returns,
  1506. (and it should!) you will get an output that looks something like this:
  1507. Trace result -> Valis:Stonewall:NoBoty:SomeBoty
  1508. This is a list of the bots connected between you and the destination bot.
  1509. It should also return the time in seconds taken for the trace to occur.
  1510. See also: bots, bottree
  1511. ::traffic
  1512. ### $btraffic$b
  1513. Shows total and daily net traffic stats since the last $b'%drestart'$b.
  1514. Stats groups are IRC, Botnet, Partyline, Transfer.mod and Misc.
  1515. %{+m}See also: restart%{-}
  1516. ::unlink
  1517. ### $bunlink$b <bot|*> [reason]
  1518. This disconnects the specified bot from the botnet (assuming it was linked
  1519. in the first place). Some bots (sharebots in particular) might not allow you
  1520. to unlink them. If "*" is specified as the parameter, all bots will be
  1521. unlinked.
  1522. See also: %{+n}link, %{-}bots, downbots%{+n}, newleaf, bottree%{-}
  1523. ::unstick
  1524. ### $bunstick$b [ban/exempt/invite] <hostmask/number> [channel]
  1525. Makes a "sticky" ban, exempt, or invite normal again.
  1526. See also: bans, exempts, invites, stick, -ban, -exempt, -invite
  1527. ::update:
  1528. ### $bupdate$b <binary>
  1529. The bot will attempt to start the new binary and kill itself.
  1530. The specified binary will need to be in the same directory
  1531. as the bot is running in.
  1532. See also: whois
  1533. :hub:uplink:
  1534. ### $buplink$b <bot> [uplink]
  1535. Changed a bot's preferred botnet uplink. Leave 'uplink' blank
  1536. to clear a bot's uplink, which will make it stay on any hub
  1537. that it can connect to. An uplink must be a hub-bot.
  1538. See also: hublevel, chaddr
  1539. ::uptime
  1540. ### $buptime$b
  1541. Displays the bot's current uptime.
  1542. See also: status
  1543. ::userlist:
  1544. ### $buserlist$b
  1545. A list of all users is displayed. Users with higher flags than you
  1546. will not appear in the list.
  1547. See also: match, whois
  1548. ::version:
  1549. ### $bversion$b
  1550. Displays the pack version and uname.
  1551. See also: botversion, netversion, about%{+m|m}, status%{-}
  1552. :leaf:voice
  1553. ### $bvoice$b <nickname> [channel|*]
  1554. will give a +v voice to a person you specify, so long as the
  1555. bot is opped on that channel. Specify * for all channels.
  1556. See also: devoice
  1557. ::w:
  1558. ### $bw$b
  1559. The output of 'w' will be displayed over DCC, bot the shell
  1560. the bot is running on.
  1561. %{+i}See also: netw%{-}
  1562. ::who
  1563. ### $bwho$b [bot]
  1564. Displays a list of users on the local bot.
  1565. For example:
  1566. [23:21] #Wcc# who
  1567. Party line members: (* = owner, + = master, @ = op)
  1568. *Wcc telnet@xxx.atlaga.adelphia.net (idle 17m)
  1569. *Wcc telnet@xxx.atlaga.adelphia.net
  1570. Bots connected:
  1571. -> wortel (05 Dec 16:32) eggdrop v1.6.15 <efnet>
  1572. The first section is people on your current channel (the party line, if you
  1573. haven't changed channels) who are on the bot. A '*' will precede the handle
  1574. if they are a bot owner, "+" if they are a master, "%%" if they are a botnet
  1575. master, or "@" if they are an op. The user's nickname, hostname, and
  1576. possibly an idle time and/or away message will be displayed.%{+n} Owners
  1577. will also see the user's dcc idx.%{-}
  1578. The next section is bots directly linked to the current bot. The arrow
  1579. indicates which bot initiated the connection. The right arrow means this bot
  1580. connected to wortel. A left arrow means the remote bot linked to this bot. A
  1581. '+' next to the arrow indicates that the bot is sharing userfiles with us.
  1582. The connection time (05 Dec 16:32) and bot version are also shown, as well
  1583. as what is specified under "network" in the config file.%{+n} Owners will
  1584. also see the bot's dcc idx.%{-}
  1585. The final section (not shown in example above) is a list of users on the
  1586. local bot who are not on your channel. This will be omitted if there are no
  1587. users on other channels. If you specify the name of a remote bot, for
  1588. example $b'%dwho valis'$b, the who request will be sent to that bot instead.
  1589. The remote bot must be linked to the botnet.
  1590. %{+m}
  1591. Masters may also see "(con <flags>)" after a user's entry, which shows the
  1592. user's console flags/modes (see $b'%dhelp console'$b).
  1593. In the final section (users that aren't on the current channel), masters
  1594. will see the actual channels other users are on. Also, people in the
  1595. filesystem will be listed (as being in channel "files") if the filesys
  1596. module is loaded. A '+' next to the nickname here means the user has
  1597. access to return to the party line.%{-}
  1598. See also: whom
  1599. ::whoami
  1600. ### $bwhoami$b
  1601. Shows your current handle and to what bot you are connected.
  1602. See also: whom
  1603. ::whois:
  1604. ### $bwhois$b [nickname]
  1605. Shows you stored information about a user record.
  1606. If no nickname is specified, your own record is shown. Five headings are
  1607. displayed:
  1608. $bHANDLE$b - the handle (nickname) of the user
  1609. $bBOTNICK$b - This user record is a bot.
  1610. $bPASS$b - "yes" if she has a password set; "no" otherwise
  1611. (bots dont use passwords)
  1612. $bNOTES$b - number of stored notes waiting for the user
  1613. $bFLAGS$b - the list of flags for this user (see below)
  1614. $bLAST$b - the time or date that the user was last on irc or the partyline
  1615. Valid global flags:
  1616. $ba$b - admin (user has absolute control over botnet minus a few perm-owner only cmds)
  1617. Be careful who you give this to, only the perm-owner of the net should even have it.
  1618. $bc$b - chat-bot (bot accepts DCC chat on irc)
  1619. $bd$b - deop (user cannot gain ops in any channel)
  1620. $be$b - nethack-exempt (user is exempted from stopnethack protection)
  1621. $bi$b - hub access (user has hub DCC access)
  1622. $bj$b - leaf access (user has leaf DCC access)
  1623. $bk$b - autokick (user is kicked and banned automatically)
  1624. $bl$b - limit-bot (bot sets limit in all channels, see '%dhelp chaninfo') [$bCPU INTENSIVE$b]
  1625. $bm$b - master (user has more access to the botnet cmds than a normal user)
  1626. $bn$b - owner (user has just about full access to bot)
  1627. $bo$b - op (user has op access to all of the bot's channels)
  1628. $bO$b - autoop (user is auto-opped in all channels)
  1629. $bp$b - party-line (user has access to the partyline)
  1630. $bq$b - quiet (user cannot gain voice on any channel)
  1631. $br$b - resolve (bot resolves clients in to match against userlist) [$bCPU INTENSIVE+$b]
  1632. $bu$b - update-bot (see doc/UPGRADING)
  1633. $bv$b - voice (user gets +v automatically from +y bots)
  1634. $bw$b - wasop-test (needs wasop test for +stopnethack procedure)
  1635. $bx$b - flood-exempt (user is exempt from flood kicks)
  1636. $by$b - voice-bot (bot gives out voices/auto-ops in chans) [$bCPU INTENSIVE$b]
  1637. Users can also have flags specific to a channel:
  1638. $bd$b - deop (user cannot gain ops on the channel)
  1639. $be$b - nethack-exempt (user is exempted from stopnethack protection)
  1640. $bk$b - autokick (user is kicked and banned automatically)
  1641. $bl$b - limit-bot (bot sets limit in the channel) [$bCPU INTENSIVE$b]
  1642. $bm$b - master (user is a channel master)
  1643. $bn$b - owner (user is a channel owner)
  1644. $bo$b - op (user has op access to the channel)
  1645. $bO$b - autoop (user is auto-opped in channel)
  1646. $bq$b - quiet (user cannot gain voice on the channel)
  1647. $br$b - resolve (bot resolves clients in channel to match against userlist) [$bCPU INTENSIVE+$b]
  1648. $bv$b - voice (user gets +v automatically)
  1649. $bw$b - wasop-test (needs wasop test for +stopnethack procedure)
  1650. $by$b - voice-bot (bot gives out voices/auto-ops in the channel) [$bCPU INTENSIVE$b]
  1651. $bz$b - washalfop-test (needs washalfop test for +stopnethack procedure)
  1652. Hostmasks for the user are displayed on the following lines. If the user is
  1653. a bot, there will be a line below which says "ADDRESS:" and gives the bot's
  1654. telnet address. Some user entries may have "EMAIL:" and "INFO:" entries too.
  1655. There may be additional information displayed depending on the modules
  1656. loaded, such as filesys and console.
  1657. %{+m}
  1658. Masters: if the user has a comment, you will see it under "COMMENT:".%{-}
  1659. See also: match, who, whom%{+m|m}, chattr, chaninfo%{-}
  1660. ::whom
  1661. ### $bwhom$b [channel|*]
  1662. Displays a list of users on the botnet.
  1663. '*' is assumed if no parameters are given.
  1664. For example:
  1665. [23:12] #Wcc# whom
  1666. Nick Bot Host
  1667. ---------- --------- --------------------
  1668. *Wcc Anakha telnet@xxx.atlaga.adelphia.net [idle 8m]
  1669. *BitchSmack Anakha telnet@xxx.atlaga.adelphia.net
  1670. Total users: 2
  1671. Each user's nickname will be listed in the first column, preceded by a "*"
  1672. if they are a bot owner, "+" if they are a master, "%%" if they are a botnet
  1673. master, or "@" if they are an op. In the next column, the bot the user is
  1674. connected to will be displayed. In the third column, the host is shown. If
  1675. the user is away, the away message will be shown. Likewise, if they are
  1676. idle, their idle time will be displayed.
  1677. To see what users are on a different channel, you may specify a channel
  1678. number/name. If you specify "*" as the channel, all users on all botnet
  1679. channels will be shown.
  1680. See also: who, chat%{+m}bots%{-}
  1681. ::end