help.txt 87 KB

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