Changeset 282 for trunk/plugins/en/output_english.tcl
- Timestamp:
- 09/19/03 09:27:10 (9 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/output_english.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/output_english.tcl
r281 r282 20 20 21 21 proc bMotion_plugin_output_english { channel line } { 22 set line [string trim $line] 23 22 24 # me at start of line is WRONG 23 25 # … … 39 41 regsub -nocase -all {[[:<:]](a) ([aeiou].+)[[:>:]]} $line {\1n \2} line 40 42 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 41 54 return $line 42 55 }
Note: See TracChangeset
for help on using the changeset viewer.
