Changeset 1060


Ignore:
Timestamp:
01/16/10 07:27:42 (2 years ago)
Author:
james
Message:

fix complex_questions.tclOWNER user

File:
1 edited

Legend:

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

    r1015 r1060  
    3737                bMotion_putloglev 3 * "it's a sound question" 
    3838                bMotionDoAction $channel $nick "%VAR{sound_answer}" 
     39                return 1 
     40        } 
     41 
     42        if {[regexp -nocase "^$botnicks,?:? what did you do to" $text] || [regexp -nocase "what did you do to .+${botnicks}\\?$" $text]} { 
     43                bMotion_putloglev 3 * "it's a what did you do question" 
     44                bMotionDoAction $channel $nick "%VAR{whatdiddos}" 
    3945                return 1 
    4046        } 
     
    355361    bMotion_putloglev 2 * "$nick who question" 
    356362  if {$owner == "se"} { 
    357     set line "%OWNER{%VAR{answerWhos}}" 
     363    set line "%VAR{answerWhos:owner}" 
    358364  } else { 
    359365    set line "%VAR{answerWhos}" 
     
    594600        "not a chance" 
    595601} 
     602 
     603bMotion_abstract_register "whatdiddos" { 
     604        "i %VAR{sillyVerbs:past} it %VAR{smiles}" 
     605        "i %VAR{sillyVerbs:past} it %VAR{unsmiles}" 
     606} 
Note: See TracChangeset for help on using the changeset viewer.