| Revision 1084,
1.4 KB
checked in by james, 21 months ago
(diff) |
|
updated stoplist for append plugin
added support for forcing female and male mixing (:malemixin and :femalemixin)
use ultraprefix for some plurals
more fixes in output_english
more stoplist for complex_spoonerism
stoplist for complex_ass
simple_calls plugin
simple_countries plugin
support for how much question types
fixed action_simple loading
a lot of abstract changes
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
-
Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 | # bMotion simple action plugins |
|---|
| 2 | # |
|---|
| 3 | # $Id$ |
|---|
| 4 | # |
|---|
| 5 | |
|---|
| 6 | ############################################################################### |
|---|
| 7 | # This is a bMotion plugin |
|---|
| 8 | # Copyright (C) James Michael Seward 2000-2002 |
|---|
| 9 | # |
|---|
| 10 | # This program is covered by the GPL, please refer the to LICENCE file in the |
|---|
| 11 | # distribution; further information can be found in the headers of the scripts |
|---|
| 12 | # in the modules directory. |
|---|
| 13 | ############################################################################### |
|---|
| 14 | |
|---|
| 15 | # name regexp % responses |
|---|
| 16 | #bMotion_plugin_add_action_simple "licks" "(licks|bites) %botnicks" 100 [list "%VAR{rarrs}"] |
|---|
| 17 | #TODO: Move this |
|---|
| 18 | bMotion_plugin_add_action_simple "moo" "^(goes |does a )?moo+s?( at %botnicks)?" 40 [list "%VAR{moos}"] "all" |
|---|
| 19 | |
|---|
| 20 | |
|---|
| 21 | # now autoload the rest from plugins/action_simple_*.tcl |
|---|
| 22 | set currentlang $bMotionInfo(language) |
|---|
| 23 | set files [glob -nocomplain "$bMotionPlugins/$currentlang/action_simple_*.tcl"] |
|---|
| 24 | foreach f $files { |
|---|
| 25 | set count [llength [array names bMotion_plugins_action_simple]] |
|---|
| 26 | bMotion_putloglev 1 * "bMotion: loading simple action plugin file $f" |
|---|
| 27 | set bMotion_noplugins 0 |
|---|
| 28 | catch { |
|---|
| 29 | source $f |
|---|
| 30 | } err |
|---|
| 31 | set newcount [llength [array names bMotion_plugins_action_simple]] |
|---|
| 32 | if {($bMotion_testing == 0) && ($newcount == $count) && ($bMotion_noplugins == 0)} { |
|---|
| 33 | putlog "bMotion: ALERT! simple action plugin file $f added no plugins" |
|---|
| 34 | putlog "Possible error: $err" |
|---|
| 35 | } |
|---|
| 36 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.