help.txt 80 KB

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