Changeset 1051 for trunk/modules/output.tcl
- Timestamp:
- 11/10/09 18:08:14 (3 years ago)
- File:
-
- 1 edited
-
trunk/modules/output.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
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.
