Changeset 1084 for trunk/plugins/en/complex_sucks.tcl
- Timestamp:
- 08/28/10 19:46:27 (21 months ago)
- File:
-
- 1 edited
-
trunk/plugins/en/complex_sucks.tcl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/en/complex_sucks.tcl
r1079 r1084 17 17 global botnicks 18 18 19 set stoplist "^(t|teh|the|that|you|which|that|it|what|they)$" 20 19 21 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 } 22 26 } 23 27 24 28 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] { 26 30 return 0 27 31 }
Note: See TracChangeset
for help on using the changeset viewer.
