Show
Ignore:
Timestamp:
02/13/08 17:42:39 (11 months ago)
Author:
znx
Message:

Starting to get rid of bMotionCache, see #13

Files:
1 modified

Legend:

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

    r662 r884  
    2222proc bMotion_plugin_complex_smiley { nick host handle channel text } { 
    2323  global mood 
    24   global bMotionCache 
    2524 
    2625  if {![bMotion_interbot_me_next $channel]} { return 0 } 
    2726 
    28   if {$bMotionCache(lastPlugin) == "bMotion_plugin_complex_smiley"} { 
    29     return 0 
     27  foreach i {"smiley" "smiley2" "smiley3" "smiley4" "smiley5"} { 
     28        bMotion_putloglev 2 * "checking $i" 
     29         
     30    if {[bMotion_plugin_history_check $channel "complex" $i]} { 
     31          return 0 
     32        } 
    3033  } 
    3134