Changeset 276


Ignore:
Timestamp:
09/19/03 08:58:59 (8 years ago)
Author:
jamesoff
Message:

fixed %noun stuff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/output.tcl

    r273 r276  
    187187  global botnick bMotionCache 
    188188 
    189   set line [bMotionInsertString $line "%noun" "%VAR{sillyThings}"] 
     189  if [string match "*%noun*" $line] { 
     190    set line [bMotionInsertString $line "%noun" "%VAR{sillyThings}"] 
     191  } 
    190192 
    191193  set loops 0 
     
    205207      #insert old style 
    206208      set line [bMotionInsertString $line "%VAR\{$BOOM\}" $newText] 
     209    } 
     210    if [string match "*%noun*" $line] { 
     211      set line [bMotionInsertString $line "%noun" "%VAR{sillyThings}"] 
    207212    } 
    208213  } 
Note: See TracChangeset for help on using the changeset viewer.