- Timestamp:
- 11/10/09 18:08:14 (3 years ago)
- Location:
- trunk/modules
- Files:
-
- 3 edited
-
abstract.tcl (modified) (2 diffs)
-
abstracts/en/abstracts.tcl (modified) (2 diffs)
-
output.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/abstract.tcl
r1041 r1051 172 172 } 173 173 174 proc bMotion_abstract_load { abstract } { 175 bMotion_putloglev 5 * "bMotion_abstract_load ($abstract)" 176 global bMotion_abstract_contents bMotion_abstract_timestamps 174 proc bMotion_abstract_load { abstract } { 175 bMotion_putloglev 5 * "bMotion_abstract_load ($abstract)" 176 177 global bMotion_abstract_contents bMotion_abstract_timestamps 177 178 global bMotionModules bMotion_abstract_ondisk 178 179 global bMotion_loading bMotion_testing … … 646 647 catch { 647 648 set filter $bMotion_abstract_filter(_all) 649 bMotion_putloglev d * "abstract: found an _all filter, applying to $abstract" 648 650 bMotion_abstract_filter $abstract $filter 649 651 } -
trunk/modules/abstracts/en/abstracts.tcl
r1038 r1051 1036 1036 "%REPEAT{3:7:m} %%" 1037 1037 "helle%REPEAT{4:8:w}" 1038 "%ruser!%|*%VAR{sillyVerbs}* %VAR{smiles}" 1039 "%ruser!%|/%VAR{sillyVerbs:present}" 1038 1040 } 1039 1041 … … 5480 5482 bMotion_abstract_add_filter "theRs" "sads" 5481 5483 5484 bMotion_abstract_add_filter "_all" "\{strip\}\}" 5485 bMotion_abstract_add_filter "_all" "\}\{strip\}" 5486 5482 5487 source "$bMotionModules/abstracts/en/randomstuff.tcl" 5483 5488 -
trunk/modules/output.tcl
r1042 r1051 241 241 # Process macros 242 242 243 set text [bMotion_process_macros $channel $text] 244 245 # Run the plugins :D 246 247 # First run the core plugins 248 #set plugins [bMotion_plugin_find_output $bMotionInfo(language) $channel 0 10] 249 #if {[llength $plugins] > 0} { 250 # foreach callback $plugins { 251 # bMotion_putloglev 1 * "bMotion: output plugin: $callback..." 252 # set result "" 253 # catch { 254 # set result [$callback $channel $text] 255 # } err 256 # bMotion_putloglev 3 * "bMotion: returned from output $callback ($result)" 257 # # TODO: Still used? 258 # if {$result == ""} { 259 # return 0 260 # } 261 # set text $result 262 # } 263 #} 264 265 set text [bMotionDoInterpolation $text $nick $moreText $channel] 243 set original_line $text 244 set done 0 245 while {$done == 0} { 246 set text [bMotion_process_macros $channel $text] 247 248 set text [bMotionDoInterpolation $text $nick $moreText $channel] 249 250 if {$text == $original_line} { 251 set done 1 252 } else { 253 set original_line $text 254 bMotion_putloglev d * "output: going round macro loop again" 255 } 256 } 266 257 267 258 # now the rest
Note: See TracChangeset
for help on using the changeset viewer.
