Ignore:
Timestamp:
09/19/03 09:27:10 (9 years ago)
Author:
jamesoff
Message:

use capitals and punctuation more

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/en/output_english.tcl

    r281 r282  
    2020 
    2121proc bMotion_plugin_output_english { channel line } { 
     22  set line [string trim $line] 
     23 
    2224  # me at start of line is WRONG 
    2325  # 
     
    3941  regsub -nocase -all {[[:<:]](a) ([aeiou].+)[[:>:]]} $line {\1n \2} line 
    4042 
     43  if {[rand 100] > 60} { 
     44    #captials at start, . at end 
     45    if [regexp {^([a-z])(.+)} $line matches first rest] { 
     46      set line "[string toupper $first]$rest" 
     47    } 
     48 
     49    if [regexp {[a-zA-Z0-9]$} $line] { 
     50      append line "." 
     51    } 
     52  } 
     53 
    4154  return $line 
    4255} 
Note: See TracChangeset for help on using the changeset viewer.