Ticket #13: complex-smiley.diff
| File complex-smiley.diff, 0.7 KB (added by bmotion, 2 years ago) |
|---|
-
plugins/en/complex_smiley.tcl
21 21 22 22 proc bMotion_plugin_complex_smiley { nick host handle channel text } { 23 23 global mood 24 global bMotionCache25 24 26 25 if {![bMotion_interbot_me_next $channel]} { return 0 } 27 26 28 if {$bMotionCache(lastPlugin) == "bMotion_plugin_complex_smiley"} { 29 return 0 27 foreach i {"smiley" "smiley2" "smiley3" "smiley4" "smiley5"} { 28 bMotion_putloglev d * "checking $i" 29 30 if {[bMotion_plugin_history_check $channel "complex" $i]} { 31 return 0 32 } 30 33 } 31 34 32 35 if {$mood(happy) < 0} {
