Index: plugins/en/complex_smiley.tcl
===================================================================
--- plugins/en/complex_smiley.tcl	(revision 748)
+++ plugins/en/complex_smiley.tcl	(working copy)
@@ -21,12 +21,15 @@
 
 proc bMotion_plugin_complex_smiley { nick host handle channel text } {
   global mood
-  global bMotionCache
 
   if {![bMotion_interbot_me_next $channel]} { return 0 }
 
-  if {$bMotionCache(lastPlugin) == "bMotion_plugin_complex_smiley"} {
-    return 0
+  foreach i {"smiley" "smiley2" "smiley3" "smiley4" "smiley5"} {
+  	bMotion_putloglev d * "checking $i"
+  	
+    if {[bMotion_plugin_history_check $channel "complex" $i]} {
+	  return 0
+	}
   }
 
   if {$mood(happy) < 0} {

