| 1 | # EDIT THIS AND MOVE IT TO settings.tcl |
|---|
| 2 | |
|---|
| 3 | # bMotion - Settings file |
|---|
| 4 | # |
|---|
| 5 | |
|---|
| 6 | ############################################################################### |
|---|
| 7 | # bMotion - an 'AI' TCL script for eggdrops |
|---|
| 8 | # Copyright (C) James Michael Seward 2000-2008 |
|---|
| 9 | # |
|---|
| 10 | # This program is free software; you can redistribute it and/or modify |
|---|
| 11 | # it under the terms of the GNU General Public License as published by |
|---|
| 12 | # the Free Software Foundation; either version 2 of the License, or |
|---|
| 13 | # (at your option) any later version. |
|---|
| 14 | # |
|---|
| 15 | # This program is distributed in the hope that it will be useful, but |
|---|
| 16 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 17 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 18 | # General Public License for more details. |
|---|
| 19 | # |
|---|
| 20 | # You should have received a copy of the GNU General Public License |
|---|
| 21 | # along with this program; if not, write to the Free Software |
|---|
| 22 | # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 23 | ############################################################################### |
|---|
| 24 | |
|---|
| 25 | ### GREETINGS |
|---|
| 26 | # |
|---|
| 27 | # Hi! You're about to configure your bMotion bot. |
|---|
| 28 | # Please look through this file carefully and change any settings as needed |
|---|
| 29 | # There are a few things which you really should look at, and these are marked |
|---|
| 30 | # [important] so you can just search for that if you like. |
|---|
| 31 | |
|---|
| 32 | # Most non-important settings will probably be fine as their defaults. bMotion |
|---|
| 33 | # has been tuned to be as non-annoying as possible. This means it might not |
|---|
| 34 | # talk as much as you want. But things that talk too much stop being funny |
|---|
| 35 | # very quickly. |
|---|
| 36 | |
|---|
| 37 | # Enjoy! |
|---|
| 38 | |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | ### PERSONALITY STUFF |
|---|
| 42 | # |
|---|
| 43 | # It's SO you! |
|---|
| 44 | |
|---|
| 45 | # male or female [important] |
|---|
| 46 | set bMotionInfo(gender) "male" |
|---|
| 47 | |
|---|
| 48 | # straight, gay, or bi [important] |
|---|
| 49 | set bMotionInfo(orientation) "straight" |
|---|
| 50 | |
|---|
| 51 | # list of nicks to respond to, separate with the | character [important] |
|---|
| 52 | # regexp is ok, but don't use brackets of any sort: () [] {} <-- NO |
|---|
| 53 | # your bot will automatically add its own nick to this |
|---|
| 54 | set bMotionSettings(botnicks) "nt|bots|the bots|notopic" |
|---|
| 55 | |
|---|
| 56 | # should the bot strictly match the botnicks? |
|---|
| 57 | # "old" behaviour did not require the botnicks to be a word by itself, |
|---|
| 58 | # which could cause the bot to respond when it shouldn't really |
|---|
| 59 | # |
|---|
| 60 | # for the regexp-inclined, this setting makes bMotion surround the |
|---|
| 61 | # botnicks value with \m...\M |
|---|
| 62 | # |
|---|
| 63 | # old behaviour = 0 |
|---|
| 64 | # new behaviour = 1 |
|---|
| 65 | set bMotionSettings(botnicks_strict) 1 |
|---|
| 66 | |
|---|
| 67 | # does the bot like 'kinky' stuff (e.g. see action_complex:fucks) |
|---|
| 68 | set bMotionSettings(kinky) 0 |
|---|
| 69 | |
|---|
| 70 | # greet people we don't know when they join the channel? |
|---|
| 71 | # 0 = only greet friends |
|---|
| 72 | # 1 = greet everyone |
|---|
| 73 | # 2 = disable greetings |
|---|
| 74 | # (note: this only affects the default join/quit plugins; 3rd party ones may not honour this) |
|---|
| 75 | set bMotionSettings(friendly) 0 |
|---|
| 76 | |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | ### BEHAVIOUR STUFF |
|---|
| 80 | # |
|---|
| 81 | # Black or white? :) |
|---|
| 82 | |
|---|
| 83 | # set to 1 to skip the gender/orientation checks |
|---|
| 84 | # turn this on if you're not going to both using the GENDER stuff |
|---|
| 85 | # in userinfo.tcl, or if you'll have a lot of people interacting |
|---|
| 86 | # with the bot who aren't in your userfile |
|---|
| 87 | set bMotionSettings(melMode) 0 |
|---|
| 88 | |
|---|
| 89 | # talk to everyone (this setting is being phased out) |
|---|
| 90 | set bMotionSettings(needI) 1 |
|---|
| 91 | |
|---|
| 92 | # respond to everything (rather than just stuff directly said to us) |
|---|
| 93 | # this setting is being phased out |
|---|
| 94 | # if you have a bot by itself, set to 1 |
|---|
| 95 | # if you have more than one bot running bmotion, set one of them to 1 and all others to 0 |
|---|
| 96 | set bMotionInfo(balefire) 1 |
|---|
| 97 | |
|---|
| 98 | # go away if things get idle? |
|---|
| 99 | set bMotionSettings(useAway) 0 |
|---|
| 100 | |
|---|
| 101 | # channels to run in (lower case please) |
|---|
| 102 | # THIS SETTING IS NOW REDUNDANT AND IS IGNORED |
|---|
| 103 | # Use ".chanset #channel +bmotion" instead! |
|---|
| 104 | #set bMotionInfo(randomChannels) { "#bitlbee" } |
|---|
| 105 | |
|---|
| 106 | # channels to not announce our away status in (lower case) |
|---|
| 107 | # some channels don't like public aways, so don't piss them off :) |
|---|
| 108 | set bMotionSettings(noAwayFor) { "#irssi" } |
|---|
| 109 | |
|---|
| 110 | # is all channels are active enough, go away anyway this much of the time |
|---|
| 111 | # 0-100 |
|---|
| 112 | set bMotionSettings(awaychance) 50 |
|---|
| 113 | |
|---|
| 114 | |
|---|
| 115 | ## SYSTEM SETTINGS |
|---|
| 116 | # |
|---|
| 117 | |
|---|
| 118 | # percent of typos (output:typos plugin) |
|---|
| 119 | set bMotionSettings(typos) 3 |
|---|
| 120 | |
|---|
| 121 | # percent of colloqualisms (output:colloq plugin) |
|---|
| 122 | set bMotionSettings(colloq) 10 |
|---|
| 123 | |
|---|
| 124 | # percent of leet changes (output:leet plugin) |
|---|
| 125 | set bMotionSettings(leetRandom) 0.5 |
|---|
| 126 | |
|---|
| 127 | # percent of homophones (output:homophone plugin) |
|---|
| 128 | set bMotionSettings(homophone) 5 |
|---|
| 129 | |
|---|
| 130 | # plugins we shouldn't load |
|---|
| 131 | set bMotionSettings(noPlugin) "simple:huk,complex:wb" |
|---|
| 132 | |
|---|
| 133 | # minimum delay (mins) between random lines |
|---|
| 134 | set bMotionInfo(minRandomDelay) 20 |
|---|
| 135 | |
|---|
| 136 | # maximum delay (mins) between random lines |
|---|
| 137 | set bMotionInfo(maxRandomDelay) 240 |
|---|
| 138 | |
|---|
| 139 | # if nothing's happened on this channel for this many mins, don't say something |
|---|
| 140 | # (stop us talking to ourselves too much) |
|---|
| 141 | set bMotionInfo(maxIdleGap) 120 |
|---|
| 142 | |
|---|
| 143 | # if something was said fewer than this many seconds ago, we consider the |
|---|
| 144 | # channel active and say something more appropirate |
|---|
| 145 | set bMotionSettings(active_idle_sec) 300 |
|---|
| 146 | |
|---|
| 147 | # how long the courtmartial plugin should wait while people are in the brig |
|---|
| 148 | # TODO: move this into said plugin |
|---|
| 149 | set bMotionInfo(brigDelay) 30 |
|---|
| 150 | |
|---|
| 151 | # number of minutes to be silent when told to shut up |
|---|
| 152 | set bMotionSettings(silenceTime) 5 |
|---|
| 153 | |
|---|
| 154 | # languages to expect for plugins |
|---|
| 155 | set bMotionSettings(languages) "en,nl" |
|---|
| 156 | |
|---|
| 157 | # default language to use |
|---|
| 158 | set bMotionInfo(language) "en" |
|---|
| 159 | |
|---|
| 160 | # regexp to stop learning of facts |
|---|
| 161 | set bMotionSettings(ignorefacts) "is online" |
|---|
| 162 | |
|---|
| 163 | # seconds per character in line |
|---|
| 164 | set bMotionSettings(typingSpeed) 0.05 |
|---|
| 165 | |
|---|
| 166 | # use the interbot stuff? |
|---|
| 167 | # by default, bMotion will broadcast on the botnet to find other bMotions |
|---|
| 168 | # so that it can talk to them (when they're in the same channel) |
|---|
| 169 | set bMotion_interbot_enable 1 |
|---|
| 170 | |
|---|
| 171 | # bias the output probability |
|---|
| 172 | # 0 = never trigger |
|---|
| 173 | # 1 = normal |
|---|
| 174 | # 2 = about twice as likely |
|---|
| 175 | # floating-point is fine |
|---|
| 176 | set bMotionSettings(bias) 1 |
|---|
| 177 | |
|---|
| 178 | # Censor output plugin |
|---|
| 179 | # The censor output plugin replaces words in output with "beep" |
|---|
| 180 | # This setting gives the words to be replaced. Some work is done to let these |
|---|
| 181 | # be stems, so you don't need to add both "fuck" and "fucking". This is a space |
|---|
| 182 | # separated list of words |
|---|
| 183 | # CAVEAT: Some of bMotion's humour comes from double-entendres, and this doesn't |
|---|
| 184 | # filter those out! |
|---|
| 185 | set bMotionSettings(censorwords) "cunt shit piss decaf" |
|---|
| 186 | |
|---|
| 187 | # Word to replace with, defaults to BEEP |
|---|
| 188 | #set bMotionSettings(censorbeep) "BEEP" |
|---|
| 189 | |
|---|
| 190 | # Enable or disable output plugins at startup |
|---|
| 191 | # Format: |
|---|
| 192 | # plugin1:1,plugin2:0,plugin3=#channel |
|---|
| 193 | # Enable plugin1 globally, disable plugin2 globally, and enable plugin3 on #channel |
|---|
| 194 | # To enable a plugin on more than one channel, list it more than once |
|---|
| 195 | # Example: "typos:0,welsh=#wales,dutch:1" |
|---|
| 196 | set bMotionSettings(output_preenable) "" |
|---|
| 197 | |
|---|
| 198 | ### Flood checking |
|---|
| 199 | # |
|---|
| 200 | # whether to disable flood checks that would prevent a malicious user |
|---|
| 201 | # from triggering plugins over and over again |
|---|
| 202 | # |
|---|
| 203 | # WARNING: Disable flood checks at your own risk! Nobody except for |
|---|
| 204 | # yourself will be responsible for any resulting negative effects, |
|---|
| 205 | # including, but not limited to nausea, dizziness, G-lines and rabid |
|---|
| 206 | # wolverine attacks. |
|---|
| 207 | set bMotionSettings(disableFloodChecks) 0 |
|---|
| 208 | |
|---|
| 209 | |
|---|
| 210 | ### Abstracts |
|---|
| 211 | # |
|---|
| 212 | # (Abstracts are bMotion's word lists, and some of them grow as it sees |
|---|
| 213 | # things on IRC) |
|---|
| 214 | |
|---|
| 215 | # amount of time (in seconds) before loaded abstracts are purged from |
|---|
| 216 | # memory and written to disk |
|---|
| 217 | # you probably don't need to change this |
|---|
| 218 | set bMotionSettings(abstractMaxAge) 300 |
|---|
| 219 | |
|---|
| 220 | # maximum number of items to keep per abstract |
|---|
| 221 | # when an abstract has more than this many items, bMotion will start |
|---|
| 222 | # forgetting items at random |
|---|
| 223 | set bMotionSettings(abstractMaxNumber) 600 |
|---|
| 224 | |
|---|
| 225 | # maximum number of things about which facts can be known |
|---|
| 226 | # after enough are known, others are forgotten at random |
|---|
| 227 | set bMotionSettings(factsMaxItems) 500 |
|---|
| 228 | |
|---|
| 229 | # maximum number of facts to know about an item |
|---|
| 230 | # forgotten at random etc |
|---|
| 231 | set bMotionSettings(factsMaxFacts) 20 |
|---|
| 232 | |
|---|
| 233 | |
|---|
| 234 | |
|---|
| 235 | ### Bitlbee mode |
|---|
| 236 | # |
|---|
| 237 | # bitlbee mode lets your bot connect to a bitlbee server and thus |
|---|
| 238 | # lets bMotion work on MSN, ICQ, etc. You should probably know what |
|---|
| 239 | # you're doing if you turn this on, as it's not really supported :) |
|---|
| 240 | # |
|---|
| 241 | # if you turn this on and connect to a normal IRC server, your bot |
|---|
| 242 | # will not work correctly! |
|---|
| 243 | |
|---|
| 244 | set bMotionSettings(bitlbee) 0 |
|---|
| 245 | |
|---|
| 246 | |
|---|
| 247 | |
|---|
| 248 | ### Sleepy stuff |
|---|
| 249 | # |
|---|
| 250 | # These settings give your bot a bedtime and a time to wake up |
|---|
| 251 | # When your bot's asleep, there's no way to wake it up! |
|---|
| 252 | # If you don't want it to do that, leave the first setting as 0 |
|---|
| 253 | # and ignore the rest of this section |
|---|
| 254 | |
|---|
| 255 | # Let the bot get tired and go to sleep? [important] |
|---|
| 256 | set bMotionSettings(sleepy) 1 |
|---|
| 257 | |
|---|
| 258 | # this is the hour and minute we should go to bed at (bMotion will sometimes stay up a bit later) |
|---|
| 259 | # these MUST be strings and MUST have leading zeros: |
|---|
| 260 | # NO: set bMotionSettings(bedtime_hour) 9 |
|---|
| 261 | # YES: set bMotionSettings(bedtime_hour) "9" |
|---|
| 262 | set bMotionSettings(bedtime_hour) "23" |
|---|
| 263 | set bMotionSettings(bedtime_minute) "41" |
|---|
| 264 | |
|---|
| 265 | # and the time to wake up |
|---|
| 266 | set bMotionSettings(wakeytime_hour) "06" |
|---|
| 267 | set bMotionSettings(wakeytime_minute) "30" |
|---|
| 268 | |
|---|
| 269 | |
|---|
| 270 | |
|---|
| 271 | ### Stats (entirely optional!) |
|---|
| 272 | # |
|---|
| 273 | # bMotion can report back to me that it's installed, for my own curiosity |
|---|
| 274 | # so i can see how many bots are installed (a bit like the eggdrop stats |
|---|
| 275 | # module). It can also check for updates, not that there've been any for |
|---|
| 276 | # years, but I intend to fix that. |
|---|
| 277 | # |
|---|
| 278 | # If you'd like to enable this, set the first setting below to 1 and then |
|---|
| 279 | # toggle the others to change exactly what info your bot shares with me. |
|---|
| 280 | # |
|---|
| 281 | # If you only want to check for updates, leave the first setting as 0 and |
|---|
| 282 | # just set the 2nd one to 1. |
|---|
| 283 | # |
|---|
| 284 | # See the comments in modules/extra/stats.tcl for more information. |
|---|
| 285 | # You can see the stats at http://www.bmotion.net/stats |
|---|
| 286 | |
|---|
| 287 | # Send stats? [important] |
|---|
| 288 | set bMotion_stats_enabled 0 |
|---|
| 289 | |
|---|
| 290 | # Check for new versions (independent from stats) |
|---|
| 291 | set bMotion_stats_version 0 |
|---|
| 292 | |
|---|
| 293 | # What can we send (if stats_enabled is 1) |
|---|
| 294 | # Set these to 0 to disable sending that bit of |
|---|
| 295 | # info. |
|---|
| 296 | |
|---|
| 297 | # this is the bot's nick |
|---|
| 298 | set bMotion_stats_send(botnick) 1 |
|---|
| 299 | |
|---|
| 300 | # the admin info ('admin' in eggdrop config) |
|---|
| 301 | set bMotion_stats_send(admin) 1 |
|---|
| 302 | |
|---|
| 303 | # the network name ('network' in eggdrop config) |
|---|
| 304 | set bMotion_stats_send(network) 1 |
|---|
| 305 | |
|---|
| 306 | # bmotion's gender/orientation |
|---|
| 307 | set bMotion_stats_send(bminfo) 1 |
|---|
| 308 | |
|---|
| 309 | |
|---|
| 310 | |
|---|
| 311 | ### Copyright info |
|---|
| 312 | # |
|---|
| 313 | # set this to 0 to stop showing the copyright |
|---|
| 314 | # PLEASE DO NOT DISTRIBUTE THIS FILE IF THE VARIABLE IS SET TO 0 |
|---|
| 315 | set bMotion_show_copyright 1 |
|---|