[[project @ 2004-05-12 15:19:06 by unknown_lamer] unknown_lamer**20040512151907 2004-05-12 Clinton Ebadi * source/DCCConnection.C (DCCConnection): Intialized `nuh' in the constructor with `n' This should fix the segfaulting. ] { hunk ./ChangeLog 1 +2004-05-12 Clinton Ebadi + + * source/DCCConnection.C (DCCConnection): Intialized `nuh' in the + constructor with `n' This should fix the segfaulting. + hunk ./bobot++.info 1 -This is bobot++.info, produced by makeinfo version 4.3 from +This is bobot++.info, produced by makeinfo version 4.6 from hunk ./bobot++.info 47 - This manual feels abused and neglected because it has almost no -content. +This manual feels abused and neglected because it has almost no content. hunk ./bobot++.info 55 - Bobot++ is easy to configure. The configuration file format may be +Bobot++ is easy to configure. The configuration file format may be hunk ./bobot++.info 80 - bot.conf is the main configuration file for a Bobot++. The available +bot.conf is the main configuration file for a Bobot++. The available hunk ./bobot++.info 108 - Bobot++ will look in `/etc/bobotpp/default/' for its default config -if none is specified on the command line. Put the configuration files -you want to be loaded by default in this directory. If you are not root -or you want to have your own personal configration, put it in +Bobot++ will look in `/etc/bobotpp/default/' for its default config if +none is specified on the command line. Put the configuration files you +want to be loaded by default in this directory. If you are not root or +you want to have your own personal configration, put it in hunk ./bobot++.info 120 - FIXME: stuff here... +FIXME: stuff here... hunk ./bobot++.info 132 - There are five levels that a user may be when interfacing with a bot: +There are five levels that a user may be when interfacing with a bot: hunk ./bobot++.info 152 - Bobot++'s most powerful feature is its scripting system. You write +Bobot++'s most powerful feature is its scripting system. You write hunk ./bobot++.info 179 - Adding a new command is simple. To register a new command use +Adding a new command is simple. To register a new command use hunk ./bobot++.info 208 - Hooks are a powerful feature of Bobot++. Hooks are a hybrid of ircII +Hooks are a powerful feature of Bobot++. Hooks are a hybrid of ircII hunk ./bobot++.info 232 - To add a new hook you use the function `bot:addhook'. `bot:addhook' -is prototyped as `(bot:addhook type regex function pri fall name)'. -`type' specifies the type of hook (the types of hooks are listed in -*Note Hook Types::). `regex' is a standard regular expression. If -`regex' is matched, `function' will be called. `function' will take a -different number of args depending on the hook type. `pri' specifies -the priority of the hook--higher priority hooks are executed first. -This argument is optional and defaults to `0'. `fall' is `#t' if the -hook is a fallthrough hook and `#f' is the hook is not a fallthrough -hook. This arg is also optional and default to `#t'. `name' is the -optional name of the hook that defaults to "DEFAULT". If you set the -name then you can have more than one hook that matches the same regexp, -as long as they have the same name. E.g. in a log script you could have -the regexps for the log function all be `".*"' and set their names to +To add a new hook you use the function `bot:addhook'. `bot:addhook' is +prototyped as `(bot:addhook type regex function pri fall name)'. `type' +specifies the type of hook (the types of hooks are listed in *Note Hook +Types::). `regex' is a standard regular expression. If `regex' is +matched, `function' will be called. `function' will take a different +number of args depending on the hook type. `pri' specifies the priority +of the hook--higher priority hooks are executed first. This argument is +optional and defaults to `0'. `fall' is `#t' if the hook is a +fallthrough hook and `#f' is the hook is not a fallthrough hook. This +arg is also optional and default to `#t'. `name' is the optional name +of the hook that defaults to "DEFAULT". If you set the name then you +can have more than one hook that matches the same regexp, as long as +they have the same name. E.g. in a log script you could have the +regexps for the log function all be `".*"' and set their names to hunk ./bobot++.info 254 - Here is a list of the various hooks are notes on each one. The -general format of a hook is: +Here is a list of the various hooks are notes on each one. The general +format of a hook is: hunk ./bobot++.info 418 - There are five levels that a user may be when interfacing with a bot: +There are five levels that a user may be when interfacing with a bot: hunk ./bobot++.info 441 - There are several types of messages you can send with Bobot++ from +There are several types of messages you can send with Bobot++ from hunk ./bobot++.info 459 - ... +... hunk ./bobot++.info 467 - The "Low Level" messaging functions allow you to do things like send +The "Low Level" messaging functions allow you to do things like send hunk ./bobot++.info 485 - These are a few useful things that I thought people writing scripts +These are a few useful things that I thought people writing scripts hunk ./bobot++.info 554 -Node: Configuration1437 -Node: Configuration File Syntax1823 -Node: bot.conf2030 -Node: Configure File Placement2865 -Node: Using the Bot3339 -Node: User Levels3513 -Node: Scripting4517 -Node: Adding New Commands5425 -Node: Hooks6692 -Node: Creating a Hook7666 -Node: Hook Types8805 -Node: Scheme User Levels12279 -Node: Sending Messages13408 -Node: High Level Message Functions14019 -Node: Low Level Message Functions14233 -Node: Misc Scripting Stuff14986 -Node: Concept Index15405 -Node: Function Index15587 -Node: Variable Index15848 +Node: Configuration1434 +Node: Configuration File Syntax1817 +Node: bot.conf2024 +Node: Configure File Placement2856 +Node: Using the Bot3327 +Node: User Levels3498 +Node: Scripting4499 +Node: Adding New Commands5404 +Node: Hooks6668 +Node: Creating a Hook7639 +Node: Hook Types8775 +Node: Scheme User Levels12246 +Node: Sending Messages13372 +Node: High Level Message Functions13980 +Node: Low Level Message Functions14191 +Node: Misc Scripting Stuff14941 +Node: Concept Index15357 +Node: Function Index15539 +Node: Variable Index15800 hunk ./source/DCCConnection.C 36 - : Connection(address, port), bot(b),lastSpoken(time(0)), autoRemove(true) + : Connection(address, port), bot(b), nuh (n), lastSpoken(time(0)), autoRemove(true) hunk ./source/DCCManager.C 25 + cnx->get_bot()->logLine (temp); }