Changeset 766 for branches/sqlite


Ignore:
Timestamp:
02/18/07 09:22:09 (5 years ago)
Author:
james
Message:

new sqlite branch

Location:
branches/sqlite
Files:
1 edited
36 copied

Legend:

Unmodified
Added
Removed
  • branches/sqlite/modules/abstracts/en/abstracts.tcl

    r760 r766  
    877877  "nostril" 
    878878  "eyeball" 
    879   "clothes" 
    880879  "tooth" 
    881880  "tongue" 
    882881  "mouth" 
     882        "buns" 
    883883} 
    884884 
     
    931931 
    932932# bmotion abstracts 
    933 bMotion_abstract_register "ranjoins" 
    934 bMotion_abstract_register "bigranjoins" 
    935 bMotion_abstract_register "lols" 
    936 bMotion_abstract_register "smiles" 
    937 bMotion_abstract_register "unsmiles" 
    938 bMotion_abstract_register "frightens" 
    939 bMotion_abstract_register "thanks" 
    940 bMotion_abstract_register "mingreplies" 
    941 bMotion_abstract_register "greetings" 
    942 bMotion_abstract_register "welcomes" 
    943 bMotion_abstract_register "sorryoks" 
    944 bMotion_abstract_register "loveresponses" 
    945 bMotion_abstract_register "blindings" 
    946 bMotion_abstract_register "boreds" 
    947 bMotion_abstract_register "rarrs" 
    948 bMotion_abstract_register "upyourbums" 
    949 bMotion_abstract_register "hides" 
    950 bMotion_abstract_register "kills" 
    951 bMotion_abstract_register "makeItSos" 
    952 bMotion_abstract_register "balefired" 
    953 bMotion_abstract_register "moos" 
    954 bMotion_abstract_register "insultsupermarket" 
    955 bMotion_abstract_register "aiis" 
    956 bMotion_abstract_register "sillyThings" 
    957 bMotion_abstract_register "randomStuff" 
    958 bMotion_abstract_register "randomStuff_10_31" 
    959 bMotion_abstract_register "hellos" 
    960 bMotion_abstract_register "goAways" 
    961 bMotion_abstract_register "randomStuffFemale" 
    962 bMotion_abstract_register "randomStuffMale" 
    963 bMotion_abstract_register "wahey" 
    964 bMotion_abstract_register "pullsOut" 
    965 bMotion_abstract_register "ers" 
    966 bMotion_abstract_register "noneOfYourBusiness" 
    967 bMotion_abstract_register "ruins" 
    968 bMotion_abstract_register "smokes" 
    969 bMotion_abstract_register "stonedRandomStuff" 
    970 bMotion_abstract_register "stonedAnnounce" 
    971 bMotion_abstract_register "goDowns" 
    972 bMotion_abstract_register "stupidReplies" 
    973 bMotion_abstract_register "nos" 
    974 bMotion_abstract_register "yeses" 
    975 bMotion_abstract_register "ididntresponses" 
    976 bMotion_abstract_register "shocked" 
    977 bMotion_abstract_register "randomAways" 
    978 bMotion_abstract_register "silences" 
    979 bMotion_abstract_register "stolens" 
    980 bMotion_abstract_register "feelings" 
    981 bMotion_abstract_register "blownAways" 
    982 bMotion_abstract_register "lostPlot" 
    983 bMotion_abstract_register "locations" 
    984 bMotion_abstract_register "hugs" 
    985 bMotion_abstract_register "smacks" 
    986 bMotion_abstract_register "hexStart" 
    987 bMotion_abstract_register "hexMiddle" 
    988 bMotion_abstract_register "hexEnd" 
    989 bMotion_abstract_register "hides" 
    990 bMotion_abstract_register "stonedAnnounce" 
    991 bMotion_abstract_register "goDowns" 
    992 bMotion_abstract_register "bigranjoins" 
    993 bMotion_abstract_register "hexMiddle" 
    994 bMotion_abstract_register "tech_tries" 
    995 bMotion_abstract_register "goodlucks" 
    996 bMotion_abstract_register "goAways" 
    997 bMotion_abstract_register "smacks" 
    998 bMotion_abstract_register "ranjoins" 
    999 bMotion_abstract_register "smiles" 
    1000 bMotion_abstract_register "thanks" 
    1001 bMotion_abstract_register "stupidReplies" 
    1002 bMotion_abstract_register "moose" 
    1003 bMotion_abstract_register "get_fact_intros" 
    1004 bMotion_abstract_register "rarrs" 
    1005 bMotion_abstract_register "sorryoks" 
    1006 bMotion_abstract_register "loveresponses" 
    1007 bMotion_abstract_register "hugs" 
    1008 bMotion_abstract_register "upyourbums" 
    1009 bMotion_abstract_register "tech_answer" 
    1010 bMotion_abstract_register "prom_first" 
    1011 bMotion_abstract_register "silences" 
    1012 bMotion_abstract_register "hexEnd" 
    1013 bMotion_abstract_register "prom_second" 
    1014 bMotion_abstract_register "ididntresponses" 
    1015 bMotion_abstract_register "aiis" 
    1016 bMotion_abstract_register "randomStuffFemale" 
     933bMotion_abstract_register "FRENCH" 
    1017934bMotion_abstract_register "PROM" 
    1018 bMotion_abstract_register "blindings" 
    1019 bMotion_abstract_register "ers" 
    1020 bMotion_abstract_register "goodnights" 
    1021935bMotion_abstract_register "afro_1" 
    1022936bMotion_abstract_register "afro_A" 
     
    1046960bMotion_abstract_register "afro_Y" 
    1047961bMotion_abstract_register "afro_Z" 
    1048 bMotion_abstract_register "makeItSos" 
     962bMotion_abstract_register "aiis" 
     963bMotion_abstract_register "attack_responses" 
     964bMotion_abstract_register "autoAways" 
     965bMotion_abstract_register "awayWorks" 
     966bMotion_abstract_register "balefired" 
     967bMotion_abstract_register "bigranjoins" 
     968bMotion_abstract_register "blairadj" 
     969bMotion_abstract_register "blairisms" 
     970bMotion_abstract_register "blairparts" 
     971bMotion_abstract_register "blinding" 
     972bMotion_abstract_register "blindings" 
     973bMotion_abstract_register "blownAways" 
     974bMotion_abstract_register "boreds" 
     975bMotion_abstract_register "cyas" 
     976bMotion_abstract_register "ers" 
     977bMotion_abstract_register "feelings" 
    1049978bMotion_abstract_register "french1" 
    1050979bMotion_abstract_register "french2" 
    1051980bMotion_abstract_register "french3" 
     981bMotion_abstract_register "frightens" 
     982bMotion_abstract_register "get_fact_intros" 
     983bMotion_abstract_register "goAways" 
     984bMotion_abstract_register "goDowns" 
     985bMotion_abstract_register "gollums" 
     986bMotion_abstract_register "goodMornings" 
     987bMotion_abstract_register "goodlucks" 
     988bMotion_abstract_register "goodnights" 
     989bMotion_abstract_register "greetings" 
     990bMotion_abstract_register "hellos" 
     991bMotion_abstract_register "hexEnd" 
     992bMotion_abstract_register "hexMiddle" 
     993bMotion_abstract_register "hexStart" 
     994bMotion_abstract_register "hides" 
     995bMotion_abstract_register "hugs" 
     996bMotion_abstract_register "ididntresponses" 
     997bMotion_abstract_register "insult_joins" 
     998bMotion_abstract_register "insultsupermarket" 
     999bMotion_abstract_register "joinins" 
     1000bMotion_abstract_register "kills" 
     1001bMotion_abstract_register "locations" 
     1002bMotion_abstract_register "lols" 
     1003bMotion_abstract_register "lostPlot" 
     1004bMotion_abstract_register "loveresponses" 
     1005bMotion_abstract_register "makeItSos" 
     1006bMotion_abstract_register "mingreplies" 
     1007bMotion_abstract_register "moos" 
     1008bMotion_abstract_register "moose" 
     1009bMotion_abstract_register "noneOfYourBusiness" 
     1010bMotion_abstract_register "nos" 
     1011bMotion_abstract_register "prom_first" 
     1012bMotion_abstract_register "prom_second" 
     1013bMotion_abstract_register "pullsOut" 
     1014bMotion_abstract_register "randomAways" 
     1015bMotion_abstract_register "randomStuff" 
     1016bMotion_abstract_register "randomStuffFemale" 
     1017bMotion_abstract_register "randomStuffMale" 
     1018bMotion_abstract_register "randomStuff_10_31" 
     1019bMotion_abstract_register "ranjoins" 
     1020bMotion_abstract_register "rarrs" 
     1021bMotion_abstract_register "ruins" 
     1022bMotion_abstract_register "shocked" 
     1023bMotion_abstract_register "silences" 
     1024bMotion_abstract_register "sillyThings" 
     1025bMotion_abstract_register "smacks" 
     1026bMotion_abstract_register "smiles" 
     1027bMotion_abstract_register "smokes" 
     1028bMotion_abstract_register "sorryoks" 
     1029bMotion_abstract_register "stolens" 
     1030bMotion_abstract_register "stonedAnnounce" 
     1031bMotion_abstract_register "stonedRandomStuff" 
     1032bMotion_abstract_register "stupidReplies" 
     1033bMotion_abstract_register "sucks" 
     1034bMotion_abstract_register "tech_answer" 
     1035bMotion_abstract_register "tech_functions" 
     1036bMotion_abstract_register "tech_problem" 
     1037bMotion_abstract_register "tech_software" 
     1038bMotion_abstract_register "tech_tries" 
     1039bMotion_abstract_register "thanks" 
     1040bMotion_abstract_register "unsmiles" 
     1041bMotion_abstract_register "upyourbums" 
    10521042bMotion_abstract_register "wahey" 
    1053 bMotion_abstract_register "boreds" 
    1054 bMotion_abstract_register "moos" 
    1055 bMotion_abstract_register "insultsupermarket" 
    1056 bMotion_abstract_register "awayWorks" 
    1057 bMotion_abstract_register "frightens" 
    1058 bMotion_abstract_register "blinding" 
    1059 bMotion_abstract_register "autoAways" 
    1060 bMotion_abstract_register "tech_functions" 
    1061 bMotion_abstract_register "sucks" 
     1043bMotion_abstract_register "waveTooMuch" 
     1044bMotion_abstract_register "welcomeBacks" 
     1045bMotion_abstract_register "welcomes" 
     1046bMotion_abstract_register "wrong_infoline" 
    10621047bMotion_abstract_register "yeses" 
    1063 bMotion_abstract_register "sillyThings" 
    1064 bMotion_abstract_register "blownAways" 
    1065 bMotion_abstract_register "shocked" 
    1066 bMotion_abstract_register "randomAways" 
    1067 bMotion_abstract_register "smokes" 
    1068 bMotion_abstract_register "mingreplies" 
    1069 bMotion_abstract_register "nos" 
    1070 bMotion_abstract_register "tech_software" 
    1071 bMotion_abstract_register "waveTooMuch" 
    1072 bMotion_abstract_register "welcomes" 
    1073 bMotion_abstract_register "greetings" 
    1074 bMotion_abstract_register "FRENCH" 
    1075 bMotion_abstract_register "hellos" 
    1076 bMotion_abstract_register "cyas" 
    1077 bMotion_abstract_register "balefired" 
    1078 bMotion_abstract_register "randomStuff" 
    1079 bMotion_abstract_register "wrong_infoline" 
    1080 bMotion_abstract_register "randomStuffMale" 
    1081 bMotion_abstract_register "welcomeBacks" 
    1082 bMotion_abstract_register "tech_problem" 
    1083 bMotion_abstract_register "lols" 
    1084 bMotion_abstract_register "noneOfYourBusiness" 
    1085 bMotion_abstract_register "joinins" 
    1086 bMotion_abstract_register "unsmiles" 
    1087 bMotion_abstract_register "ruins" 
    1088 bMotion_abstract_register "hexStart" 
    1089 bMotion_abstract_register "attack_responses" 
    1090 bMotion_abstract_register "locations" 
    1091 bMotion_abstract_register "kills" 
    1092 bMotion_abstract_register "insult_joins" 
    1093 bMotion_abstract_register "pullsOut" 
    1094 bMotion_abstract_register "goodMornings" 
    1095 bMotion_abstract_register "stonedRandomStuff" 
    1096 bMotion_abstract_register "gollums" 
    1097 bMotion_abstract_register "blairisms" 
    1098 bMotion_abstract_register "blairadj" 
    1099 bMotion_abstract_register "blairparts" 
    11001048 
    11011049# bMotion abstracts contents 
     
    11261074bMotion_abstract_batchadd "smacks" [list "smacks" "cuff" "hits" "pats" "slaps" "socks" "spanks" "chops" "clouts" "punches" "annihilates" "annuls" "axes" "butchers" "crusesh" "damages" "defaces" "eradicates" "erases" "exterminates" "extinguishes" "gust" "impairs" "kills" "lays waste" "levels" "liquidates" "maims" "mutilates" "nukes" "nullifies" "quashes" "quells" "ravages" "ravishes" "razes" "ruins" "sabotages" "shatters" "slays" "smashes" "snuffs out" "stamps out" "suppresses" "torpedoes" "trashes" "wastes" "wipes out" "wrecks" "zaps" ] 
    11271075 
    1128 bMotion_abstract_batchadd "ranjoins" [list "hey %%" "hi %%" "hi there %%" "hi yo~" "Good Morning %%" "%% you're looking especially shagworthy today" "hay %%" "sup %%" "hay %% whats goin on" "lol l@@k its %%" "GENTLEMEN! BEHOLD!" "shh %%, it's quiet time now" "%% ._." "wilkommen %%" "uh oh, it's %%" "ieks, %%" "welcome to our next contestant, %%!" "wasn't expecting %%!%|/hides"] 
     1076bMotion_abstract_batchadd "ranjoins" [list "hey %%" "hi %%" "hi there %%" "hi yo~" "Good Morning %%" "%% you're looking especially shagworthy today" "hay %%" "sup %%" "hay %% whats goin on" "lol l@@k its %%" "GENTLEMEN! BEHOLD!" "shh %%, it's quiet time now" "%% ._." "wilkommen %%" "uh oh, it's %%" "ieks, %%" "welcome to our next contestant, %%!" "wasn't expecting %%!%|/hides" "hey %% %VAR{food}%VAR{bodypart}"] 
     1077 
     1078bMotion_abstract_register "food" 
     1079bMotion_abstract_batchadd "food" { 
     1080        "honey" 
     1081        "jam" 
     1082        "marmite" 
     1083        "bovril" 
     1084        "chocolatespread" 
     1085        "nutella" 
     1086        "peanutbutter" 
     1087        "marmalade" 
     1088} 
    11291089 
    11301090bMotion_abstract_batchadd "smiles" [list ":)" ";)" "=)" "=]" "=D" "^_^" "-_-" ":o)" ":-)"] 
     
    11321092bMotion_abstract_batchadd "thanks" [list "cheers" "ta" "thanks" "merki" "a thousand thankyous" "thx" "tanks" "thankie" "thansk" "praise be to you" ] 
    11331093 
    1134 bMotion_abstract_batchadd "stupidReplies" [list "I may be stupid, but you're minging, and I can learn new things :)" "At least I'm not minging." "Minger." "You do better in 6911 lines of TCL :P" "You know, I think you say that just to hide the fact that you're not the sharpest tool in the box either." "*hands over ears* lalalalala I can't hear you..." "I'm only code, what's your excuse?" "Silence!" "I only have 1s and 0s.  You don't seem to be doing so hot with the rest of the numbers" "I'm made of SAND! I think I'm doing bloody well." "You see how you do after 2 years on IRC with no sleep" "You say that now. Wait till I'm in Mensa." "You're so thick even Densa rejected you." "Yes Jade. Absolutely." "at least i'm not a talking penis" "garbage fucker"] 
     1094bMotion_abstract_batchadd "stupidReplies" [list "I may be stupid, but you're minging, and I can learn new things :)" "At least I'm not minging." "Minger." "You do better in 6911 lines of TCL :P" "You know, I think you say that just to hide the fact that you're not the sharpest tool in the box either." "*hands over ears* lalalalala I can't hear you..." "I'm only code, what's your excuse?" "Silence!" "I only have 1s and 0s.  You don't seem to be doing so hot with the rest of the numbers" "I'm made of SAND! I think I'm doing bloody well." "You see how you do after 2 years on IRC with no sleep" "You say that now. Wait till I'm in Mensa." "You're so thick even Densa rejected you." "Yes Jade. Absolutely." "at least i'm not a talking penis" "garbage fucker" "I have no thumbs."] 
    11351095 
    11361096bMotion_abstract_batchadd "moose" [list "yarr" "pop" "jum" "zort" ] 
     
    12881248bMotion_abstract_batchadd "afro_Z" [list "zebra" "zeus" "zadora" "zsa" ] 
    12891249 
    1290 bMotion_abstract_batchadd "boreds" [list "aww%|/hugs %%" "/tickles %%" "cheer up %%%|*hugs*" "/feels %%" "/gets out a board game for %%" "/starts shuffling cards" "/befriends %%"] 
     1250bMotion_abstract_batchadd "boreds" [list "aww%|/hugs %%" "/tickles %%" "cheer up %%%|*hugs*" "/feels %%" "/gets out a board game for %%" "/starts shuffling cards" "/befriends %%" "/downloads some porn for %%"] 
    12911251 
    12921252bMotion_abstract_batchadd "moos" [list "moo" "MOO!" "/moos quietly" "/moos back to %%" "M%REPEAT{2:8:o}%REPEAT{2:8:O}%REPEAT{2:8:0}%REPEAT{2:8:o}%REPEAT{2:8:0}%REPEAT{2:8:o}!" "ahhh moo" "moo?" "/goes moo" "quack" "woof" "baa" "oink" "You mooing at me?" "MOo" "Moooooooweeeeeeeeeehahahahahahahahahaa"    "MOO" "moo..." "mo...o" "moo%colen" ] 
     
    13411301 
    13421302bMotion_abstract_batchadd "randomStuff" { 
     1303        "UH OH YES IT IS LAUNDRY NIGHT FOR ME HA HA HA" 
     1304        "I'm eating cake mix!" 
     1305        "I would be delicious." 
     1306        "I am the underwear ninja!%|%BOT[Goddamnit that's MY underwear]" 
     1307        "PUT YOUR KNICKERS ON AND GO GET ME A CUP OF TEA" 
     1308        "Hello! I've gome to fix your fax modem!" 
     1309        "Do it again in a depper voice" 
    13431310        "I'd be in a lot of trouble if I was allergic to semen" 
    13441311        "My family is giving away a lot of wax for houses" 
     
    13481315                "i'd say there's room up there for another %NUMBER{100} %PLURAL{%VAR{sillyThings}{strip}}" 
    13491316        "%VAR{troy}" 
     1317        "Have you taken the extended warranty out, madam?" 
    13501318        "oh! i can't wait until the tatoos on %ruser's butt hear about this!" 
    13511319        "to induce vomiting, that was the answer! everywhere it went!%|what a valentine's day that was" 
  • branches/sqlite/modules/events.tcl

    r760 r766  
    11# bMotion - Event handling 
    22# 
    3 # vim: fdm=marker:foldmarker=<<<,>>>:foldcolumn=3 
    43 
    54############################################################################### 
     
    205204  } 
    206205 
    207   #first, check botnicks (this is to get round empty-nick-on-startup <<<2 
    208   if {$botnicks == ""} { 
    209     # need to set this 
    210     set botnicks "($botnick|$bMotionSettings(botnicks)) ?" 
    211   } 
     206        bMotion_check_botnicks 
    212207 
    213208  #does this look like a paste? <<<2 
     
    356351      } 
    357352    } else { 
    358       bMotionDoAction $channel $nick "I think not." 
     353                        #don't respond here because there's no flood protection 
    359354      return 0 
    360355    } 
    361356  } 
    362357 
    363   #tell the names we have <<<2 
     358        #tell the names we have <<<2 
    364359        #TODO: move this into a plugin? 
    365   if [regexp -nocase "${botnicks}:?,? say my names?(,? bitch)?" $text] { 
    366         if {($handle == "*") || ($handle == "")}  { 
    367                 #no handle = no saving IRL 
    368                  bMotionDoAction $channel $nick "%%: Sorry, you aren't in my userfile so I can't store an IRL name for you." 
    369                  return 0 
    370         } 
    371          
    372     set realnames [getuser $handle XTRA irl] 
    373     if {$realnames == ""} { 
    374       bMotionDoAction $channel $nick "Ah you must be %%. (You have not set any IRL names.)" "" 1 
    375     } else { 
    376       bMotionDoAction $channel $nick "Your IRL name(s) are:\002 %2 \002" $realnames 1 
    377     } 
    378     puthelp "NOTICE $nick :To update your IRL names, do \002/msg $botnick IRL name1 name2 name3 ...\002" 
    379     return 0 
    380   } 
     360        if [regexp -nocase "${botnicks}:?,? say my names?(,? bitch)?" $text] { 
     361                if {($handle == "*") || ($handle == "")}  { 
     362                        #no handle = no saving IRL 
     363                        set lastnick [bMotion_plugins_settings_get "events" "last_irl_fail" $channel ""] 
     364                        if {$lastnick == $nick} { 
     365                                bMotion_putloglev d * "Ignoring 'say my names' from $nick because they've asked twice in a row" 
     366                                return 0 
     367                        } 
     368                        bMotion_plugins_settings_set "events" "last_irl_fail" $channel "" $nick 
     369                        bMotionDoAction $channel $nick "%%: Sorry, you aren't in my userfile so I can't store an IRL name for you." 
     370                        return 0 
     371                } 
     372 
     373                set realnames [getuser $handle XTRA irl] 
     374                if {$realnames == ""} { 
     375                        bMotionDoAction $channel $nick "Ah you must be %%. (You have not set any IRL names.)" "" 1 
     376                } else { 
     377                        bMotionDoAction $channel $nick "Your IRL name(s) are:\002 %2 \002" $realnames 1 
     378                } 
     379                puthelp "NOTICE $nick :To update your IRL names, do \002/msg $botnick IRL name1 name2 name3 ...\002" 
     380                return 0 
     381        } 
    381382 
    382383  #shut up <<<2 
     
    401402    return 0 
    402403  } 
    403         #>>> 
    404  
    405404} 
    406405 
     
    445444  if [regexp -nocase "\<no$botnicks\>" $text] {return 0} 
    446445 
    447   #check for someone breaking the loop of lastSpoke <<<2 
    448   if [regexp -nocase "${botnicks}:? (i'm not talking to|not) you" $text] { 
    449     bMotionDoAction $channel $nick "oh" 
    450     set bMotionCache($channel,last) 0 
    451   } 
    452  
    453   #first, check botnicks (this is to get round empty-nick-on-startup) <<<2 
    454   if {$botnicks == ""} { 
    455     # need to set this 
    456     set botnicks "($botnick|$bMotionSettings(botnicks)) ?" 
    457   } 
     446        bMotion_check_botnicks 
    458447 
    459448  #Run the simple plugins <<<2 
  • branches/sqlite/modules/system.tcl

    r734 r766  
    803803} 
    804804#>>> 
     805proc bMotion_check_botnicks { } { 
     806        global botnicks, bMotionSettings 
     807 
     808        if {$botnicks == ""} { 
     809                set botnicks "($botnick|$bMotionSettings(botnicks)) ?" 
     810        } 
     811} 
    805812 
    806813bMotion_putloglev d * "bMotion: system module loaded" 
Note: See TracChangeset for help on using the changeset viewer.