- Timestamp:
- 03/17/10 23:31:22 (2 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
-
modules/output.tcl (modified) (1 diff)
-
plugins/en/action_complex_shows.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/output.tcl
r1073 r1074 282 282 } 283 283 284 # clear this in case a plugin ended up not using it in an abstract 285 bMotion_plugins_settings_set "system" "ruser_skip" $channel "" 286 284 287 #make sure the line wasn't set to blank by a plugin (may be trying to block output) 285 288 set line [string trim $text] -
trunk/plugins/en/action_complex_shows.tcl
r966 r1074 17 17 if {[regexp -nocase "(shows) $botnicks (a|an|the|some|his|her|its)? ?(.+)" $text bling act bot preposition item]} { 18 18 bMotion_putloglev d * "bMotion: Was shown !$preposition $item! by $nick in $channel" 19 20 bMotion_plugins_settings_set "system" "ruser_skip" $channel "" $nick 19 21 20 22 # the following code is HORRIBLE, but that's just because I can't figure out TCL … … 144 146 "%REPEAT{3:6:o}h, %VAR{show_adjectives}!%|/steals %% and runs off%|ALL MINE NOW%colen%|/sells %% on ebay" 145 147 "now that's %VAR{show_adjectives}" 146 "p%REPEAT{2:5:f}t.. wait until you see my %VAR{sillyThings }{strip}"148 "p%REPEAT{2:5:f}t.. wait until you see my %VAR{sillyThings:strip}" 147 149 "/takes a picture" 148 "/contemplates%|it'd be nicer if it had % PLURAL{%VAR{sillyThings}{strip}}"149 "I prefer % OWNER{%ruser}"150 "/contemplates%|it'd be nicer if it had %VAR{sillyThings:strip,plural}" 151 "I prefer %ruser{:owner}" 150 152 "/admires %%" 151 153 "/replaces %% with a cheap %VAR{colours} plastic copy%|bwaha%REPEAT{1:4:ha}" 152 154 } 155 bMotion_abstract_add_filter "show_generic" "%PLURAL" 156 bMotion_abstract_add_filter "show_generic" "%OWNER" 157
Note: See TracChangeset
for help on using the changeset viewer.
