Changeset 1076
- Timestamp:
- 04/05/10 10:14:02 (22 months ago)
- File:
-
- 1 edited
-
trunk/plugins/en/complex_fry.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/complex_fry.tcl
r936 r1076 14 14 15 15 bMotion_plugin_add_complex "fry1" "i'?ve been as (dumb|stupid) as $botnicks" 100 bMotion_plugin_complex_fry1 "en" 16 bMotion_plugin_add_complex "technically" "technically \[a-z\]+\\M" 60 bMotion_plugin_complex_technically "en" 17 18 proc bMotion_plugin_complex_technically { nick host handle channel text } { 19 if {![bMotion_interbot_me_next $channel]} { 20 return 0 21 } 22 23 if [regexp -nocase "technically (\[a-z\]+)\\M" $text matches thing] { 24 bMotionDoAction $channel $thing "The best kind of $thing" 25 return 1 26 } 27 } 16 28 17 29 proc bMotion_plugin_complex_fry1 {nick host handle channel text} { 18 global botnicks19 30 20 31 bMotionDoAction $channel "" "am not %VAR{unsmiles}"
Note: See TracChangeset
for help on using the changeset viewer.
