Changeset 1053
- Timestamp:
- 11/15/09 19:01:05 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
modules/abstracts/en/randomstuff.tcl (modified) (1 diff)
-
plugins/en/output_VAR.tcl (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/abstracts/en/randomstuff.tcl
r1039 r1053 6 6 ### Used when the channel is not 'active' (default > 300s since last line) 7 7 bMotion_abstract_register "randomStuff" { 8 "%VAR{adjective} %VAR{sillyThings:strip} is %VAR{adjective:prev}" 9 "%VAR{nice_adjective} %VAR{sillyThings:strip} is %VAR{nice_adjective:prev}" 8 10 "ok, we've got the hot tub hot, the wine cooler's cool: it's %VAR{sillyThings:strip} time!" 9 11 "eww! i touched my own %VAR{bodypart}!" -
trunk/plugins/en/output_VAR.tcl
r1043 r1053 25 25 bMotion_putloglev 4 * "bMotion_plugin_output_VAR $channel $line" 26 26 global BMOTION_MIXIN_NONE BMOTION_MIXIN_REVERSE BMOTION_MIXIN_DEFAULT BMOTION_MIXIN_BOTH 27 27 28 28 set line [string map { "%noun" "%VAR{sillyThings}" } $line] 29 29 … … 107 107 foreach option $options_list { 108 108 switch $option { 109 "prev" { 110 set replacement [bMotion_plugins_settings_get "output:VAR" "last" $channel "$abstract"] 111 } 109 112 "strip" { 110 113 set replacement [bMotion_strip_article $replacement] … … 146 149 return "" 147 150 } 151 152 bMotion_plugins_settings_set "output:VAR" "last" $channel $abstract $replacement 148 153 set line [string replace $line $location [expr $location + [string length $matches] - 1] $replacement] 149 154
Note: See TracChangeset
for help on using the changeset viewer.
