Changeset 252
- Timestamp:
- 09/10/03 06:59:14 (8 years ago)
- File:
-
- 1 edited
-
trunk/plugins/en/complex_questions.tcl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/complex_questions.tcl
r249 r252 30 30 if {($term == "") && (![bMotionTalkingToMe $text])} { return 0 } 31 31 bMotion_plugin_complex_question_what $nick $channel $host $question 32 return 1 33 } 34 35 bMotion_putloglev 3 * "Checking question for wellbeing" 36 ## wellbeing question targeted at me 37 if { [regexp -nocase "^$botnicks,?:? how( a|')?re (you|ya)" $text] || 38 [regexp -nocase "^how( a|')?re (you|ya).*$botnicks ?\\?" $text] } { 39 bMotion_plugin_complex_question_wellbeing $nick $channel $host 32 40 return 1 33 41 } … … 176 184 177 185 proc bMotion_plugin_complex_question_when { nick channel host } { 178 bMotion_putloglev 2 * "$nick When question"186 bMotion_putloglev 2 * "$nick When question" 179 187 bMotionDoAction $channel [bMotionGetRealName $nick $host] "%VAR{answerWhens}" 180 188 return 1 181 189 } 182 190 191 proc bMotion_plugin_complex_question_wellbeing { nick channel host } { 192 bMotion_putloglev 2 * "$nick wellbeing question" 193 bMotionDoAction $channel [bMotionGetRealName $nick $host] "%VAR{answerWellbeing}" 194 return 1 195 } 196 183 197 proc bMotion_plugin_complex_question_with { nick channel host prop } { 184 bMotion_putloglev 2 * "$nick with question"198 bMotion_putloglev 2 * "$nick with question" 185 199 set answer "$prop %VAR{answerWithWhos}" 186 200 bMotionDoAction $channel [bMotionGetRealName $nick $host] $answer
Note: See TracChangeset
for help on using the changeset viewer.
