Ignore:
Timestamp:
08/28/10 19:46:27 (21 months ago)
Author:
james
Message:

updated stoplist for append plugin
added support for forcing female and male mixing (:malemixin and :femalemixin)
use ultraprefix for some plurals
more fixes in output_english
more stoplist for complex_spoonerism
stoplist for complex_ass
simple_calls plugin
simple_countries plugin
support for how much question types
fixed action_simple loading
a lot of abstract changes

File:
1 edited

Legend:

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

    r1079 r1084  
    1717        global botnicks 
    1818 
     19        set stoplist "^(t|teh|the|that|you|which|that|it|what|they)$" 
     20 
    1921        if [regexp -nocase {([a-z0-9]+) (all )?suck[.!]*$} $text matches item] { 
    20                 bMotionDoAction $channel $item "%VAR{sucks}" 
    21                 return 1 
     22                if {![regexp -nocase $stoplist $item]} { 
     23                        bMotionDoAction $channel $item "%VAR{sucks}" 
     24                        return 1 
     25                } 
    2226        } 
    2327 
    2428        if [regexp -nocase {^([a-z0-9]+) sucks} $text matches item] { 
    25                 if [regexp -nocase "^(teh|the|that|you|which|that|it|what)$" $item] { 
     29                if [regexp -nocase $stoplist $item] { 
    2630                        return 0 
    2731                } 
Note: See TracChangeset for help on using the changeset viewer.