help.txt 82 KB

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