Changeset 265 for trunk/modules/plugins.tcl
- Timestamp:
- 09/16/03 05:52:42 (9 years ago)
- File:
-
- 1 edited
-
trunk/modules/plugins.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/plugins.tcl
r264 r265 75 75 ## Find a simple plugin 76 76 proc bMotion_plugin_find_simple { text lang } { 77 bMotion_putloglev 3 * "bMotion_plugin_find_simple: text = $text, lang = $lang" 77 78 global bMotion_plugins_simple botnicks 78 79 set s [lsort [array names bMotion_plugins_simple]] … … 90 91 if [regexp -nocase $rexp $text] { 91 92 set c [rand 100] 93 bMotion_putloglev 4 * "simple plugin $key matches" 92 94 if {$chance > $c} { 95 bMotion_putloglev 4 * " `- firing" 93 96 return $response 94 97 }
Note: See TracChangeset
for help on using the changeset viewer.
