Ignore:
Timestamp:
09/02/10 16:53:40 (21 months ago)
Author:
james
Message:

updates to demon output plugin
fix some plurals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/modules/output.tcl

    r1082 r1085  
    115115        set channel [chandname2name $channel] 
    116116        regsub "^\"(.+)\"?$" $action {\1} action 
    117         if {([string index $action 0] != ".") && ([rand 10] == 0)} { 
     117        if {([string index $action 0] != ".") && (![regexp -nocase "^is" $action]) && ([rand 10] == 0)} { 
    118118                set action "*$action*" 
    119119        } else { 
     
    10041004        bMotion_putloglev 5 * "bMotionMakePlural ($text)" 
    10051005 
    1006         if [regexp -nocase "(us|is|x|ch|sh)$" $text] { 
     1006        if [regexp -nocase "(ss|ts|us|is|x|ch|sh)$" $text] { 
    10071007                append text "es" 
    10081008                return $text 
Note: See TracChangeset for help on using the changeset viewer.