Ignore:
Timestamp:
06/26/09 08:29:08 (3 years ago)
Author:
james
Message:

now with working

File:
1 edited

Legend:

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

    r1012 r1015  
    3232      return 1 
    3333  } 
     34 
     35        bMotion_putloglev 3 * "checking question for sound: $text" 
     36        if {[regexp -nocase "^$botnicks,?:? what sound " $text] || [regexp -nocase "what sound .+${botnicks}\\?$" $text]} { 
     37                bMotion_putloglev 3 * "it's a sound question" 
     38                bMotionDoAction $channel $nick "%VAR{sound_answer}" 
     39                return 1 
     40        } 
    3441 
    3542  ## moved here from further down because it'd never be triggered otherwise   --szrof 
Note: See TracChangeset for help on using the changeset viewer.