Changeset 1082
- Timestamp:
- 08/26/10 11:32:47 (18 months ago)
- Location:
- trunk
- Files:
-
- 12 edited
-
modules/abstracts/en/abstracts.tcl (modified) (13 diffs)
-
modules/abstracts/en/randomstuff.tcl (modified) (3 diffs)
-
modules/friendship.tcl (modified) (1 diff)
-
modules/interbot.tcl (modified) (1 diff)
-
modules/output.tcl (modified) (1 diff)
-
plugins/en/complex_invader.tcl (modified) (2 diffs)
-
plugins/en/complex_nazi.tcl (modified) (2 diffs)
-
plugins/en/complex_spoonerism.tcl (modified) (1 diff)
-
plugins/en/output_VAR.tcl (modified) (3 diffs)
-
plugins/en/output_append.tcl (modified) (5 diffs)
-
plugins/en/output_typos.tcl (modified) (1 diff)
-
plugins/en/simple_general.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/abstracts/en/abstracts.tcl
r1077 r1082 647 647 bMotion_abstract_register "randomReplies" { 648 648 "You are a bottomless pit of questions." 649 "fuck your riddles, you gigantic mystic arsehole!" 649 650 "You can lead a horse to water, but you are the one asking all the stupid questions!" 650 651 "%ruser" … … 1016 1017 "wab" 1017 1018 "nipple" 1019 "labia" 1018 1020 } 1019 1021 … … 3122 3124 "well slap my ass and call me susan" 3123 3125 "well slap my ass and call me %me" 3126 "well slap my %VAR{bodypart} and call me %me" 3124 3127 "well blow me down" 3125 3128 "well i'll be a monkey's uncle" … … 3128 3131 "%VAR{hermes}" 3129 3132 "%VAR{ulysses}" 3133 "shocking" 3134 "wtf" 3130 3135 } 3131 3136 … … 3198 3203 "removing my enemies from the timeline" 3199 3204 "trimming my toenails" 3205 "intimate time with my %VAR{fruits}" 3200 3206 } 3201 3207 … … 3332 3338 "grape" 3333 3339 "banana" 3340 "pear" 3341 "apricot" 3342 "cherry" 3343 "peach" 3344 "plum" 3345 "blackberry" 3346 "raspberry" 3347 "blueberry" 3348 "cranberry" 3349 "gooseberry" 3350 "grapefruit" 3351 "lemon" 3352 "lime" 3353 "orange" 3354 "tangerine" 3355 "avocado" 3356 "lychee" 3357 "passion fruit" 3358 "strawberry" 3359 "coconut" 3360 "kiwi" 3334 3361 } 3335 3362 … … 3525 3552 "%SETTING{complex:attacks:who:_:_} is immune to '%SETTING{complex:attacks:item:_:_}'" 3526 3553 "%SETTING{complex:attacks:who:_:_} absorbs the damage and gains %SETTING{complex:attacks:score:_:_} HP!" 3554 "%SETTING{complex:attacks:who:_:_} casts a Spell of %VAR{sillyThings:strip} and takes only %SETTING{complex:attacks:score:_:_} damage!" 3527 3555 } 3528 3556 … … 3582 3610 "\[%%\] I love %ruser%|%VAR{wrong_infoline}" 3583 3611 "\[%%\] Just call me %VAR{sillyThings}%|%VAR{wrong_infoline}" 3584 "%ruser: what do you mean you put it in a melon?"3612 "%ruser: what do you mean you put it in a %VAR{fruits}?" 3585 3613 } 3586 3614 … … 4537 4565 "a plague of locusts" 4538 4566 "breezes" 4567 "a hurricane" 4568 "a tornado" 4539 4569 } 4540 4570 4541 4571 bMotion_abstract_register "compass" { 4542 4572 "north" 4573 "northwest" 4574 "northeast" 4575 "southwest" 4576 "southeast" 4543 4577 "south" 4544 4578 "east" … … 4590 4624 "good %daytime" 4591 4625 "%daytime" 4626 "%daytime all" 4627 "/powers up" 4628 "/fails to resume from hibernated state and reboots" 4629 "/boots" 4592 4630 "r" 4593 4631 "mmm toast" 4632 "mmm breakfast" 4594 4633 "/eats breakfast" 4595 4634 "/awakens from a nightmare about %VAR{nightmare}" … … 4662 4701 "Operation Undercover" 4663 4702 "The Secret Assignment" 4703 "The Heat Thickens" 4664 4704 } 4665 4705 … … 4898 4938 "shorts" 4899 4939 "jacket" 4940 } 4941 4942 bMotion_abstract_register "clothes_female" { 4943 "knickers" 4944 "tights" 4945 "stockings" 4946 "bra" 4947 "skirt" 4948 "thong" 4949 } 4950 4951 bMotion_abstract_register "clothes_male" { 4952 "Y-fronts" 4953 "braces" 4954 "top hat" 4955 "cummerbund" 4956 "bowtie" 4957 "tie" 4900 4958 } 4901 4959 … … 5616 5674 "panther" 5617 5675 "pig" 5676 "bear" 5677 "zebra" 5678 "horse" 5618 5679 } 5619 5680 -
trunk/modules/abstracts/en/randomstuff.tcl
r1054 r1082 6 6 ### Used when the channel is not 'active' (default > 300s since last line) 7 7 bMotion_abstract_register "randomStuff" { 8 "help! my %VAR{bodypart:plural} are escaping!" 9 "%REPEAT{7:7:ring }%VAR{fruits} phone" 10 "/puts the %VAR{sillyThings:strip,triplet} in %VAR{sillyThings:prevtriplet}" 11 "Putting the %VAR{sillyThings:strip,triplet} in %VAR{sillyThings:prevtriplet} since 1%NUMBER{9}%NUMBER{99}" 12 "Achievement unlocked: %VAR{sillyVerbs:past} %VAR{sillyThings}! (%NUMBER{5}0G)" 8 13 "%VAR{adjective} %VAR{sillyThings:strip} is %VAR{adjective:prev}" 9 14 "%VAR{nice_adjective} %VAR{sillyThings:strip} is %VAR{nice_adjective:prev}" … … 425 430 426 431 bMotion_abstract_register "randomStuff_female" { 432 "i'm so fat i broke %NUMBER{100} toilets %VAR{unsmiles}" 433 "i'm so fat i broke %NUMBER{100} toilets %VAR{unsmiles}%|%BOT[at once]" 434 "someone help me, i have lost my shirt and am terribly horny!" 435 "someone help me, i have lost my %VAR{clothes} and am terribly horny!" 436 "oils her %VAR{bodypart}" 437 "i often walk about with someone else's dick betwixt mine silken buttocks" 427 438 "most men are imtimidated by the fact that i can kill them with a flick of my %VAR{bodypart}" 428 439 "excuse me, i need to go powder my ... nose" … … 528 539 ### Used when the channel is 'active' (default < 300 sec since last line) 529 540 bMotion_abstract_register "activeRandomStuff" { 541 "%ruser really puts the %VAR{sillyThings:strip,triplet} in %VAR{sillyThings:prevtriplet}!" 542 "and in the game" 543 "and now I shall part your %VAR{bodypart:bothmixin}" 544 "looks like i picked the wrong week to quit smoking" 545 "looks like i picked the wrong week to quit amphetamines" 546 "looks like i picked the wrong week to quit sniffing glue" 530 547 "Mr %ruser{male}... are those your UNDERPANTS?!" 531 548 "try to stay with the crowd so noone notices how crummy you look" -
trunk/modules/friendship.tcl
r937 r1082 137 137 set friendship [getFriendship $nick] 138 138 bMotion_putloglev 2 * "friendship: friendship for $nick is $friendship" 139 if {$friendship < 35} {139 if {$friendship <= 40} { 140 140 return 0 141 141 } -
trunk/modules/interbot.tcl
r1058 r1082 154 154 bMotion_putloglev 2 * "interbot: My score is $myScore" 155 155 156 if { $myScore > $bMotion_interbot_nextbot_score($channel)} {156 if {(![info exists $bMotion_interbot_nextbot_score($channel)]) || ($myScore > $bMotion_interbot_nextbot_score($channel))} { 157 157 bMotion_putloglev 2 * "interbot: Actually, I have highest score on $channel, sending out reply" 158 158 set bMotion_interbot_nextbot_score($channel) $myScore -
trunk/modules/output.tcl
r1075 r1082 161 161 if {$result == ""} { 162 162 bMotion_putloglev d * "macro: [lindex $plugin 0] returned nothing, aborting output" 163 return 0163 return "" 164 164 } 165 165 } 166 166 if {$result == ""} { 167 return "" 167 168 incr current_pos 168 169 continue -
trunk/plugins/en/complex_invader.tcl
r1061 r1082 167 167 "soon they'll all be after my delicious guts" 168 168 "i have had enough of your smelly mouth filled with corn" 169 "i have had enough of your smelly mouth filled with %VAR{fruits:plural}" 169 170 "as soon as my skeleton stops being broken i will destroy you" 170 171 "when will the lies end?!" … … 212 213 "the giant flesh-eating demon squid has escaped! security! protect your master! GIR! Defensive mode!" 213 214 "ah yes... uh... %ruser! and how is the happiness probe in your brain doing today, FILTHY HUMAN?" 214 "stay right there... we're sending someone over to beat you up for playing jokes in the FBI!"215 "stay right there... we're sending someone over to beat you up for playing jokes on the FBI!" 215 216 "no more waffles, GIR. No really, I'm starting to feel sick. *retch*" 216 217 "AARGH! The hideous mutant squid has escaped again and has created an army of cyborg zombie soldiers to do its evil bidding!" -
trunk/plugins/en/complex_nazi.tcl
r979 r1082 14 14 15 15 bMotion_plugin_add_complex "nazi-your" "^your (a|the) \[a-z\]+$" 60 bMotion_plugin_complex_nazi1 "en" 16 bMotion_plugin_add_complex "nazi-regexp" "^s/\[^/\]+/\[^/\]+$" 80 bMotion_plugin_complex_nazi2 "en" 16 bMotion_plugin_add_complex "nazi-regexp" "^s/\[^/\]+/\[^/\]+$" 30 bMotion_plugin_complex_nazi2 "en" 17 bMotion_plugin_add_complex "nazi-meand" "\\mme and \[a-z\]+" 60 bMotion_plugin_complex_nazi3 "en" 18 bMotion_plugin_add_complex "nazi-meand2" "\[a-z\]+ and me\\M" 60 bMotion_plugin_complex_nazi4 "en" 17 19 18 20 proc bMotion_plugin_complex_nazi1 {nick host handle channel text} { … … 39 41 } 40 42 43 proc bMotion_plugin_complex_nazi3 {nick host handle channel text} { 44 45 if [regexp -nocase "\\mme and (\[a-z\]+)( \[a-z\]+)?" $text matches other verb] { 46 if {$verb == ""} { 47 if {![bMotion_interbot_me_next $channel]} { 48 return 0 49 } 50 bMotionDoAction $channel $nick "%%: %2 and me" $other 51 return 1 52 } else { 53 regsub -nocase "me and $other" $text "$other and me" text 54 return [bMotion_plugin_complex_nazi4 $nick $host $handle $channel $text] 55 } 56 return 0 57 } 58 } 59 60 proc bMotion_plugin_complex_nazi4 {nick host handle channel text} { 61 if {![bMotion_interbot_me_next $channel]} { 62 return 0 63 } 64 65 #TODO: extend this list 66 if [regexp -nocase "\\m(\[a-z\]+ and \)me\\M (were|did)\\M" $text matches other verb] { 67 bMotionDoAction $channel $nick "%%: $other I" 68 return 1 69 } 70 return 0 71 } 72 73 41 74 bMotion_abstract_register "nazi1" 42 75 bMotion_abstract_batchadd "nazi1" [list "%%: \"you're\"" "their what?" "s/your/you're/"] -
trunk/plugins/en/complex_spoonerism.tcl
r1046 r1082 56 56 57 57 if [regexp -nocase {([b-df-hj-np-tv-xz]+)(([aeiou])\3)([b-df-hj-np-tv-xz]+[.!?]?)} $text matches 1 2 3 4] { 58 if {$matches == "cool"} { 59 return 0 60 } 58 61 bMotionDoAction $channel $text "$1%REPEAT{2:10:$2}$3$4" 59 62 return 1 -
trunk/plugins/en/output_VAR.tcl
r1053 r1082 110 110 set replacement [bMotion_plugins_settings_get "output:VAR" "last" $channel "$abstract"] 111 111 } 112 "prevtriplet" { 113 set replacement [bMotion_plugins_settings_get "output:VAR" "last:pretriplet" $channel $abstract] 114 } 112 115 "strip" { 113 116 set replacement [bMotion_strip_article $replacement] … … 139 142 set replacement [string toupper $replacement] 140 143 } 144 "triplet" { 145 bMotion_plugins_settings_set "output:VAR" "last:pretriplet" $channel $abstract $replacement 146 set temp [bMotion_find_triplet $replacement] 147 if {$temp == ""} { 148 putlog "triplet is blank" 149 return "" 150 } 151 set replacement $temp 152 } 153 141 154 } 142 155 bMotion_putloglev 1 * "current replacement is $replacement" … … 160 173 } 161 174 175 proc bMotion_find_triplet { word } { 176 set start 0 177 if {[string length $word] < 3} { 178 return "" 179 } 180 181 set results [list] 182 183 while {[regexp -start $start -nocase -indices {([^aeiou ][aeiou][^aeiou ])} $word matches a]} { 184 lappend results [string range $word [lindex $a 0] [lindex $a 1]] 185 set start [lindex $a 1] 186 } 187 188 if {[llength $results] == 0} { 189 return "" 190 } 191 192 return [pickRandom $results] 193 } 162 194 163 195 bMotion_plugin_add_output "VAR" bMotion_plugin_output_VAR 1 "en" 3 -
trunk/plugins/en/output_append.tcl
r992 r1082 15 15 16 16 proc bMotion_plugin_output_append { channel line } { 17 if {([string length $line] > 10) && ([rand 100] > 90)} { 17 putlog "running append plugin" 18 set length [string length $line] 19 set n [rand 100] 20 bMotion_putloglev d * "output_append: length=$length, n=$n" 21 if {($length > 10) && ($n > 90)} { 22 bMotion_putloglev d * "output_append: doing!" 18 23 set line [string trim $line] 19 24 # make sure the line ends with a letter (other than D) … … 23 28 if [regexp -nocase {[a-ce-z]$} $line] { 24 29 append line "%VAR{appends}" 30 } else { 31 bMotion_putloglev d * "output_append: not appending to this line as it may end in a smiley" 25 32 } 26 33 } else { 27 if {![regexp {^[:;=/]} $line } {34 if {![regexp {^[:;=/]} $line]} { 28 35 # don't do this for /me type lines and smilies 29 36 return $line … … 31 38 set line "%VAR{prepends} $line" 32 39 } 40 bMotion_putloglev d * "output_append: preprocessed line is $line" 33 41 34 set line [bMotionDoInterpolation $line "" "" $channel] 42 set line [bMotion_process_macros $channel $line] 43 regsub -all "%space" $line " " line 35 44 45 bMotion_putloglev d * "output_append: postprocessed line is $line" 36 46 } 37 47 return $line … … 57 67 ", i think" 58 68 "%spaceor something totally different perhaps" 69 "%spacein the butt" 70 "%spacein a vagina" 59 71 } 60 72 bMotion_abstract_add_filter "appendslist" "^ " … … 86 98 bMotion_abstract_add_filter "narfs" {^[^ ]} 87 99 88 bMotion_plugin_add_output "append" bMotion_plugin_output_append 1 "en" 1 100 bMotion_plugin_add_output "append" bMotion_plugin_output_append 1 "en" 11 -
trunk/plugins/en/output_typos.tcl
r961 r1082 192 192 } 193 193 194 bMotion_plugin_add_output "typos" bMotion_plugin_output_typos 1 "all" 15194 bMotion_plugin_add_output "typos" bMotion_plugin_output_typos 1 "all" 99 -
trunk/plugins/en/simple_general.tcl
r1061 r1082 49 49 bMotion_plugin_add_simple "coffee2" "\[a-z0-9\]+ ?> ?coffee" 90 [list "what" "%VAR{unsmiles}" "%VAR{kills}" "/%VAR{smacks} %%" "traitor!" "you li%REPEAT{1:5:e}!%|YOU LI%REPEAT{4:10:E}%REPEAT{3:5:!}%colen"] "en" 50 50 bMotion_plugin_add_simple "coffee3" "coffee (is |=+ )?(teh |the )?(suck|rubbish|fail|horrible|horrid)" 90 [list "what" "%VAR{unsmiles}" "%VAR{kills}" "/%VAR{smacks} %%" "traitor!" "you li%REPEAT{1:5:e}!%|YOU LI%REPEAT{4:10:E}%REPEAT{3:5:!}%colen"] "en" 51 bMotion_plugin_add_simple "lolcats" "i can has " 90 [list "no you fucking can't%|not until you learn to use english right, anyway" "what" "i can has grammar plz" "i has a bucket%|I have placed it over your stupid head." "no you fucking can't" "shut up" "everyone look at %%, they're up to date on all internet memes!%|for example, <%%> all your base are belong to us%|fantastic."] "en"51 bMotion_plugin_add_simple "lolcats" "i can has " 60 [list "no you fucking can't%|not until you learn to use english right, anyway" "what" "i can has grammar plz" "i has a bucket%|I have placed it over your stupid head." "no you fucking can't" "shut up" "everyone look at %%, they're up to date on all internet memes!%|for example, <%%> all your base are belong to us%|fantastic."] "en" 52 52 53 53 bMotion_plugin_add_simple "centipedes" {[a-z]+\? in my [a-z]+\?} 70 [list "it's more likely than you think"] "en" … … 58 58 bMotion_plugin_add_simple "likea-catch" "i do love a good (.+)" 40 [list "me too %VAR{smiles}" "same!" ] "en" 59 59 bMotion_plugin_add_simple "secretcatch" "(secret|sekrit)" 40 [list "we all know %ruser likes to %VAR{dVerbs} themselves with a %VAR{dNouns} %VAR{smiles}" "it was %ruser!" "%VAR{ididntresponses}" ] "en" 60 bMotion_plugin_add_simple "andthan-catch" "and( then| than)" 10 [list "and then a bear came" "and then my %VAR{bodypart} %VAR{fellOffs}" "and thaaan?"] "en"60 bMotion_plugin_add_simple "andthan-catch" "and( then| than)" 10 [list "and then a %VAR{animals} came" "and then a bear came" "and then my %VAR{bodypart} %VAR{fellOffs}" "and thaaan?"] "en" 61 61 bMotion_plugin_add_simple "choose" "choose (.+)" 30 [list "Choose Life." "Choose a job." "Choose a career." "Choose a family." "Choose a fucking big television" "choose washing machines" "choose cars" "choose compact disc players" "choose electrical tin openers" "Choose good health" "choose low cholesterol" "choose dental insurance" "choose fixed interest mortage repayments" "Choose a starter home." "Choose your friends." "Choose leisurewear and matching luggage." "Choose a three-piece suite on hire purchase in a range of fucking fabrics." "Choose DIY and wondering who the fuck you are on a Sunday morning." "Choose sitting on that couch watching mind-numbing, spirit-crushing game shows, stuffing fucking junk food into your mouth." "Choose rotting away at the end of it all, pishing your last in a miserable home, nothing more than an embarrassment to the selfish, fucked up brats you spawned to replace yourself." ] "en" 62 62 bMotion_plugin_add_simple "the-r" "^r$" 30 [list "%VAR{theRs}" ] "en" 63 bMotion_plugin_add_simple "answerR" " r$%botnicks" 50 [list "%VAR{greetings}" "%VAR{theRs}" ] "en"64 bMotion_plugin_add_simple "lookrobot" "(look robot|look, robot)" 100 [list "I've seen it before, it's rubbish" ":o" "omg" "^_^" ] "en"63 bMotion_plugin_add_simple "answerR" "\\mr %botnicks" 50 [list "%VAR{greetings}" "%VAR{theRs}" ] "en" 64 bMotion_plugin_add_simple "lookrobot" "(look robot|look,? robot|%botnicks look|look,? %botnicks)" 100 [list "I've seen it before, it's rubbish" ":o" "omg" "^_^" ] "en" 65 65 bMotion_plugin_add_simple "inokunfu" "(i know kungfu|i know kung fu)" 100 [list "Show me%|hmh.. your style is un-impressive" "Show me%|hmh.. your style is impressive" ] "en" 66 66 … … 70 70 bMotion_plugin_add_simple "nicecar2" {^nice [^ ]+s!?$} 40 [list "wanna show me what they can do?"] "en" 71 71 72 bMotion_plugin_add_simple "luggage" {^[0-9 -]$} 40 [list "amazing, that's the same combination as my luggage!"] "en" 72 bMotion_plugin_add_simple "luggage" "^\[0-9\]{5}$" 40 [list "amazing, that's the same combination as my luggage!"] "en" 73 74 bMotion_plugin_add_simple "letme1" "(%botnicks.? let me know when)|(let me know when.? %botnicks)" 100 [list "r" "will do" "sure" "np" "ok"] "en"
Note: See TracChangeset
for help on using the changeset viewer.
