Changeset 1010
- Timestamp:
- 06/19/09 16:28:12 (3 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
-
modules/abstracts/en/abstracts.tcl (modified) (1 diff)
-
modules/abstracts/en/randomstuff.tcl (modified) (2 diffs)
-
modules/output.tcl (modified) (1 diff)
-
plugins/en/action_complex_failsafe.tcl (modified) (3 diffs)
-
plugins/en/output_VAR.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/abstracts/en/abstracts.tcl
r1006 r1010 4689 4689 } 4690 4690 4691 bMotion_abstract_register "spams" { 4692 "%VAR{spam_girl} %VAR{spam_girl_verb} %VAR{spam_girl_target}" 4693 } 4694 4695 bMotion_abstract_register "spam_girl" { 4696 "%VAR{spam_adjective} %VAR{spam_girls}" 4697 "%VAR{spam_girls}" 4698 } 4699 4700 bMotion_abstract_register "spam_girls" { 4701 "girl" 4702 "chick" 4703 "daughter" 4704 "sister" 4705 "mother" 4706 } 4707 4708 bMotion_abstract_register "spam_boy" { 4709 "%VAR{spam_adjective} %VAR{spam_boys}" 4710 "%VAR{spam_boys}" 4711 } 4712 4713 bMotion_abstract_register "spam_boys" { 4714 "boy" 4715 "bloke" 4716 "dude" 4717 "father" 4718 } 4719 4720 bMotion_abstract_register "spam_adjective" { 4721 "lustful" 4722 "hot" 4723 "shaved" 4724 } 4725 4726 bMotion_abstract_register "spam_girl_verb" { 4727 "sucks" 4728 "licks" 4729 "rubs" 4730 "whips" 4731 "enjoys" 4732 "teases" 4733 } 4734 4735 bMotion_abstract_register "spam_girl_target" { 4736 "%VAR{spam_girl:owner} %VAR{spam_girlbits}" 4737 "%VAR{spam_boy:owner} %VAR{spam_boybits}" 4738 } 4739 4740 bMotion_abstract_register "spam_girlbits" { 4741 "vagina" 4742 "boobs" 4743 "armpit" 4744 "neck" 4745 } 4746 4747 4748 bMotion_abstract_register "spam_boybits" { 4749 "dick" 4750 "cock" 4751 "knob" 4752 "penis" 4753 "armpit" 4754 "neck" 4755 } 4756 4757 bMotion_abstract_register "sillyVerbs" { 4758 "accept" 4759 "add" 4760 "admire" 4761 "admit" 4762 "advise" 4763 "afford" 4764 "agree" 4765 "alert" 4766 "allow" 4767 "amuse" 4768 "analyse" 4769 "announce" 4770 "annoy" 4771 "answer" 4772 "apologise" 4773 "appear" 4774 "applaud" 4775 "appreciate" 4776 "approve" 4777 "argue" 4778 "arrange" 4779 "arrest" 4780 "arrive" 4781 "ask" 4782 "attach" 4783 "attack" 4784 "attempt" 4785 "attend" 4786 "attract" 4787 "avoid" 4788 "back" 4789 "bake" 4790 "balance" 4791 "ban" 4792 "bang" 4793 "bare" 4794 "bat" 4795 "bathe" 4796 "battle" 4797 "beam" 4798 "beg" 4799 "behave" 4800 "belong" 4801 "bleach" 4802 "bless" 4803 "blind" 4804 "blink" 4805 "blot" 4806 "blush" 4807 "boast" 4808 "boil" 4809 "bolt" 4810 "bomb" 4811 "book" 4812 "bore" 4813 "borrow" 4814 "bounce" 4815 "bow" 4816 "box" 4817 "brake" 4818 "brake" 4819 "branch" 4820 "breathe" 4821 "bruise" 4822 "brush" 4823 "bubble" 4824 "bump" 4825 "burn" 4826 "bury" 4827 "buzz" 4828 "calculate" 4829 "call" 4830 "camp" 4831 "care" 4832 "carry" 4833 "carve" 4834 "cause" 4835 "challenge" 4836 "change" 4837 "charge" 4838 "chase" 4839 "cheat" 4840 "check" 4841 "cheer" 4842 "chew" 4843 "choke" 4844 "chop" 4845 "claim" 4846 "clap" 4847 "clean" 4848 "clear" 4849 "clip" 4850 "close" 4851 "coach" 4852 "coil" 4853 "collect" 4854 "colour" 4855 "comb" 4856 "command" 4857 "communicate" 4858 "compare" 4859 "compete" 4860 "complain" 4861 "complete" 4862 "concentrate" 4863 "concern" 4864 "confess" 4865 "confuse" 4866 "connect" 4867 "consider" 4868 "consist" 4869 "contain" 4870 "continue" 4871 "copy" 4872 "correct" 4873 "cough" 4874 "count" 4875 "cover" 4876 "crack" 4877 "crash" 4878 "crawl" 4879 "cross" 4880 "crush" 4881 "cry" 4882 "cure" 4883 "curl" 4884 "curve" 4885 "cycle" 4886 "dam" 4887 "damage" 4888 "dance" 4889 "dare" 4890 "decay" 4891 "deceive" 4892 "decide" 4893 "decorate" 4894 "delay" 4895 "delight" 4896 "deliver" 4897 "depend" 4898 "describe" 4899 "desert" 4900 "deserve" 4901 "destroy" 4902 "detect" 4903 "develop" 4904 "disagree" 4905 "disappear" 4906 "disapprove" 4907 "disarm" 4908 "discover" 4909 "dislike" 4910 "divide" 4911 "double" 4912 "doubt" 4913 "drag" 4914 "drain" 4915 "dream" 4916 "dress" 4917 "drip" 4918 "drop" 4919 "drown" 4920 "drum" 4921 "dry" 4922 "dust" 4923 "earn" 4924 "educate" 4925 "embarrass" 4926 "employ" 4927 "empty" 4928 "encourage" 4929 "end" 4930 "enjoy" 4931 "enter" 4932 "entertain" 4933 "escape" 4934 "examine" 4935 "excite" 4936 "excuse" 4937 "exercise" 4938 "exist" 4939 "expand" 4940 "expect" 4941 "explain" 4942 "explode" 4943 "extend" 4944 "face" 4945 "fade" 4946 "fail" 4947 "fancy" 4948 "fasten" 4949 "fax" 4950 "fear" 4951 "fence" 4952 "fetch" 4953 "file" 4954 "fill" 4955 "film" 4956 "fire" 4957 "fit" 4958 "fix" 4959 "flap" 4960 "flash" 4961 "float" 4962 "flood" 4963 "flow" 4964 "flower" 4965 "fold" 4966 "follow" 4967 "fool" 4968 "force" 4969 "form" 4970 "found" 4971 "frame" 4972 "frighten" 4973 "fry" 4974 "gather" 4975 "gaze" 4976 "glow" 4977 "glue" 4978 "grab" 4979 "grate" 4980 "grease" 4981 "greet" 4982 "grin" 4983 "grip" 4984 "groan" 4985 "guarantee" 4986 "guard" 4987 "guess" 4988 "guide" 4989 "hammer" 4990 "hand" 4991 "handle" 4992 "hang" 4993 "happen" 4994 "harass" 4995 "harm" 4996 "hate" 4997 "haunt" 4998 "head" 4999 "heal" 5000 "heap" 5001 "heat" 5002 "help" 5003 "hook" 5004 "hop" 5005 "hope" 5006 "hover" 5007 "hug" 5008 "hum" 5009 "hunt" 5010 "hurry" 5011 "identify" 5012 "ignore" 5013 "imagine" 5014 "impress" 5015 "improve" 5016 "include" 5017 "increase" 5018 "influence" 5019 "inform" 5020 "inject" 5021 "injure" 5022 "instruct" 5023 "intend" 5024 "interest" 5025 "interfere" 5026 "interrupt" 5027 "introduce" 5028 "invent" 5029 "invite" 5030 "irritate" 5031 "itch" 5032 "jail" 5033 "jam" 5034 "jog" 5035 "join" 5036 "joke" 5037 "judge" 5038 "juggle" 5039 "jump" 5040 "kick" 5041 "kill" 5042 "kiss" 5043 "kneel" 5044 "knit" 5045 "knock" 5046 "knot" 5047 "label" 5048 "land" 5049 "last" 5050 "laugh" 5051 "launch" 5052 "learn" 5053 "level" 5054 "license" 5055 "lick" 5056 "lie" 5057 "lighten" 5058 "like" 5059 "list" 5060 "listen" 5061 "live" 5062 "load" 5063 "lock" 5064 "long" 5065 "look" 5066 "love" 5067 "man" 5068 "manage" 5069 "march" 5070 "mark" 5071 "marry" 5072 "match" 5073 "mate" 5074 "matter" 5075 "measure" 5076 "meddle" 5077 "melt" 5078 "memorise" 5079 "mend" 5080 "mess up" 5081 "milk" 5082 "mine" 5083 "miss" 5084 "mix" 5085 "moan" 5086 "moor" 5087 "mourn" 5088 "move" 5089 "muddle" 5090 "mug" 5091 "multiply" 5092 "murder" 5093 "nail" 5094 "name" 5095 "need" 5096 "nest" 5097 "nod" 5098 "note" 5099 "notice" 5100 "number" 5101 "obey" 5102 "object" 5103 "observe" 5104 "obtain" 5105 "occur" 5106 "offend" 5107 "offer" 5108 "open" 5109 "order" 5110 "overflow" 5111 "owe" 5112 "own" 5113 "pack" 5114 "paddle" 5115 "paint" 5116 "park" 5117 "part" 5118 "pass" 5119 "paste" 5120 "pat" 5121 "pause" 5122 "peck" 5123 "pedal" 5124 "peel" 5125 "peep" 5126 "perform" 5127 "permit" 5128 "phone" 5129 "pick" 5130 "pinch" 5131 "pine" 5132 "place" 5133 "plan" 5134 "plant" 5135 "play" 5136 "please" 5137 "plug" 5138 "point" 5139 "poke" 5140 "polish" 5141 "pop" 5142 "possess" 5143 "post" 5144 "pour" 5145 "practise" 5146 "pray" 5147 "preach" 5148 "precede" 5149 "prefer" 5150 "prepare" 5151 "present" 5152 "preserve" 5153 "press" 5154 "pretend" 5155 "prevent" 5156 "prick" 5157 "print" 5158 "produce" 5159 "program" 5160 "promise" 5161 "protect" 5162 "provide" 5163 "pull" 5164 "pump" 5165 "punch" 5166 "puncture" 5167 "punish" 5168 "push" 5169 "question" 5170 "queue" 5171 "race" 5172 "radiate" 5173 "rain" 5174 "raise" 5175 "reach" 5176 "realise" 5177 "receive" 5178 "recognise" 5179 "record" 5180 "reduce" 5181 "reflect" 5182 "refuse" 5183 "regret" 5184 "reign" 5185 "reject" 5186 "rejoice" 5187 "relax" 5188 "release" 5189 "rely" 5190 "remain" 5191 "remember" 5192 "remind" 5193 "remove" 5194 "repair" 5195 "repeat" 5196 "replace" 5197 "reply" 5198 "report" 5199 "reproduce" 5200 "request" 5201 "rescue" 5202 "retire" 5203 "return" 5204 "rhyme" 5205 "rinse" 5206 "risk" 5207 "rob" 5208 "rock" 5209 "roll" 5210 "rot" 5211 "rub" 5212 "ruin" 5213 "rule" 5214 "rush" 5215 "sack" 5216 "sail" 5217 "satisfy" 5218 "save" 5219 "saw" 5220 "scare" 5221 "scatter" 5222 "scold" 5223 "scorch" 5224 "scrape" 5225 "scratch" 5226 "scream" 5227 "screw" 5228 "scribble" 5229 "scrub" 5230 "seal" 5231 "search" 5232 "separate" 5233 "serve" 5234 "settle" 5235 "shade" 5236 "share" 5237 "shave" 5238 "shelter" 5239 "shiver" 5240 "shock" 5241 "shop" 5242 "shrug" 5243 "sigh" 5244 "sign" 5245 "signal" 5246 "sin" 5247 "sip" 5248 "ski" 5249 "skip" 5250 "slap" 5251 "slip" 5252 "slow" 5253 "smash" 5254 "smell" 5255 "smile" 5256 "smoke" 5257 "snatch" 5258 "sneeze" 5259 "sniff" 5260 "snore" 5261 "snow" 5262 "soak" 5263 "soothe" 5264 "sound" 5265 "spare" 5266 "spark" 5267 "sparkle" 5268 "spell" 5269 "spill" 5270 "spoil" 5271 "spot" 5272 "spray" 5273 "sprout" 5274 "squash" 5275 "squeak" 5276 "squeal" 5277 "squeeze" 5278 "stain" 5279 "stamp" 5280 "stare" 5281 "start" 5282 "stay" 5283 "steer" 5284 "step" 5285 "stir" 5286 "stitch" 5287 "stop" 5288 "store" 5289 "strap" 5290 "strengthen" 5291 "stretch" 5292 "strip" 5293 "stroke" 5294 "stuff" 5295 "subtract" 5296 "succeed" 5297 "suck" 5298 "suffer" 5299 "suggest" 5300 "suit" 5301 "supply" 5302 "support" 5303 "suppose" 5304 "surprise" 5305 "surround" 5306 "suspect" 5307 "suspend" 5308 "switch" 5309 "talk" 5310 "tame" 5311 "tap" 5312 "taste" 5313 "tease" 5314 "telephone" 5315 "tempt" 5316 "terrify" 5317 "test" 5318 "thank" 5319 "thaw" 5320 "tick" 5321 "tickle" 5322 "tie" 5323 "time" 5324 "tip" 5325 "tire" 5326 "touch" 5327 "tour" 5328 "tow" 5329 "trace" 5330 "trade" 5331 "train" 5332 "transport" 5333 "trap" 5334 "travel" 5335 "treat" 5336 "tremble" 5337 "trick" 5338 "trip" 5339 "trot" 5340 "trouble" 5341 "trust" 5342 "try" 5343 "tug" 5344 "tumble" 5345 "turn" 5346 "twist" 5347 "type" 5348 "undress" 5349 "unfasten" 5350 "unite" 5351 "unlock" 5352 "unpack" 5353 "untidy" 5354 "use" 5355 "vanish" 5356 "visit" 5357 "wail" 5358 "wait" 5359 "walk" 5360 "wander" 5361 "want" 5362 "warm" 5363 "warn" 5364 "wash" 5365 "waste" 5366 "watch" 5367 "water" 5368 "wave" 5369 "weigh" 5370 "welcome" 5371 "whine" 5372 "whip" 5373 "whirl" 5374 "whisper" 5375 "whistle" 5376 "wink" 5377 "wipe" 5378 "wish" 5379 "wobble" 5380 "wonder" 5381 "work" 5382 "worry" 5383 "wrap" 5384 "wreck" 5385 "wrestle" 5386 "wriggle" 5387 "x-ray" 5388 "yawn" 5389 "yell" 5390 "zip" 5391 } 5392 4691 5393 source "$bMotionModules/abstracts/en/randomstuff.tcl" 5394 -
trunk/modules/abstracts/en/randomstuff.tcl
r993 r1010 6 6 ### Used when the channel is not 'active' (default > 300s since last line) 7 7 bMotion_abstract_register "randomStuff" { 8 "how do i %VAR{sillyVerbs:past} %VAR{sillyThings:strip}" 9 "n%REPEAT{1:10:o} my %VAR{bodypart}! i'm not supposed to get %VAR{sillyThings:strip,plural} in it!" 8 10 "this one time, at %VAR{sillyThings:strip} camp, i put %VAR{sillyThings}..." 9 11 "/shits %hisher %VAR{clothes}" … … 494 496 ### Used when the channel is 'active' (default < 300 sec since last line) 495 497 bMotion_abstract_register "activeRandomStuff" { 498 "It was the freshest move I'e ever seen" 496 499 "I don't know but i am tripping on a bun" 497 500 "I saved the space-time continuum and 40% of your rectum!" -
trunk/modules/output.tcl
r961 r1010 830 830 831 831 # 832 # makes a work past tense... probably best only use it on verbs :P 833 proc bMotion_make_past_tense { word } { 834 835 # check if we got passed a multi-part verb (sit on) 836 set extra "" 837 regexp -nocase {^(\w+)( (.+))?} $word matches verb extra 838 set newverb "" 839 840 putlog "working with $verb" 841 842 # handle irregual verbs 843 switch $verb { 844 cut { set newverb $verb } 845 hit { set newverb $verb } 846 fit { set newverb $verb } 847 get { set newverb got } 848 sit { set newverb sat } 849 drink { set newverb drank } 850 catch { set newverb caught } 851 bring { set newverb brought } 852 buy { set newverb bought} 853 teach { set newverb taught } 854 have { set newverb had } 855 do { set newverb did } 856 ride { set newverb rode } 857 go { set newverb went } 858 make { set newverb made } 859 } 860 861 if {$newverb != ""} { 862 return "${newverb}$extra" 863 } 864 865 # verbs ending in e get -ed 866 if [string match -nocase "*e" $verb] { 867 append verb "d" 868 set newverb $verb 869 } 870 871 if {$newverb != ""} { 872 return "${newverb}$extra" 873 } 874 875 # ending in const-y get -ied 876 if [regexp -nocase {(.+[^aeiouy])y$} $verb matches a] { 877 set newverb "${a}ied" 878 } 879 880 if {$newverb != ""} { 881 return "${newverb}$extra" 882 } 883 884 # one vowel + const !wy get double const + ed 885 if [regexp -nocase {(.+[^aeiouy][aeiou])([^aeiouwy])\M} $verb matches a b] { 886 set newverb "${a}${b}${b}ed" 887 } 888 889 if {$newverb != ""} { 890 return "${newverb}$extra" 891 } 892 893 # everything else just gets -ed 894 set newverb "${verb}ed" 895 896 return "${newverb}$extra" 897 } 898 899 900 # 832 901 # not sure! 833 902 proc chr c { -
trunk/plugins/en/action_complex_failsafe.tcl
r961 r1010 15 15 bMotion_plugin_add_action_complex "zzz-failsafe" {^(.+?)s?( at|with)? %botnicks} 100 bMotion_plugin_complex_action_failsafe "en" 16 16 bMotion_plugin_add_action_complex "aaa-autogender" {[a-z]+s (his|her) } 100 bMotion_plugin_complex_action_autolearn_gender "en" 17 bMotion_plugin_add_action_complex "aaa-verbcatch" {(\w+s)\M} 100 bMotion_plugin_complex_action_verb_catch "en" 17 18 18 19 proc bMotion_plugin_complex_action_failsafe { nick host handle channel text } { … … 108 109 } 109 110 111 proc bMotion_plugin_complex_action_verb_catch { nick host handle channel text } { 112 113 set stem "" 114 if [regexp -nocase {^((\w+)s)\M} $text matches verb stem] { 115 } 116 117 if {$stem != ""} { 118 if [string match -nocase "*e" $stem] { 119 set stem [string range $stem 0 end-1] 120 } 121 # TODO: Handle any obvious cases where the stem isn't just lopping off the s! 122 bMotion_putloglev 1 * "found verb $verb ($stem)" 123 bMotion_abstract_add "sillyVerbs" $stem 124 } 125 126 return 0 127 } 128 110 129 bMotion_abstract_register "failsafe_nice" 111 130 bMotion_abstract_batchadd "failsafe_nice" [list "mmm" "%VAR{smiles}" "%VAR{smiles}%|/gives %% %VAR{sillyThings}" "i do love a good %2ing"] … … 134 153 bMotion_abstract_batchadd "failsafe_niceactions" [list "wh%REPEAT{3:7:e} %VAR{smiles}" "%VAR{smiles}" "/bounces around" "*drool*" ] 135 154 136 155 bMotion_abstract_register "sillyVerbs" -
trunk/plugins/en/output_VAR.tcl
r998 r1010 95 95 } 96 96 97 if {[lsearch $options_list "past"] > -1} { 98 set replacement [bMotion_make_past_tense $replacement] 99 } 100 97 101 if {[lsearch $options_list "plural"] > -1} { 98 102 set replacement [bMotionMakePlural $replacement]
Note: See TracChangeset
for help on using the changeset viewer.
