From 6ccd151c8c6adece560a17b5fb3a5a76c6a7f6b8 Mon Sep 17 00:00:00 2001 From: Andrio Celos Date: Sat, 3 May 2014 15:35:10 +1000 Subject: [PATCH] Stop commands from triggering essai replies. --- essai.tcl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/essai.tcl b/essai.tcl index 558d598..357a49f 100644 --- a/essai.tcl +++ b/essai.tcl @@ -9,7 +9,9 @@ proc essai {nick host hand chan text} { return } - if {[regexp -nocase {(Could.not.pass.event)} $text]} { + if {[regexp -nocase {^[.+|]} $text]} { + return + } elseif {[regexp -nocase {(Could.not.pass.event)} $text]} { essaiout $nick $chan "\00304\[\00312Automsg\00304\]\003 Could not pass event errors are generally caused by using out of date copies of plugins/bukkit. It can also be caused by other broken plugins. Check your server startup log for errors." } elseif {[regexp -nocase {(internal.error)} $text]} { essaiout $nick $chan "\00304\[\00312Automsg\00304\]\003 If you have internal errors, please check your server log, if you can't understand it, pastebin the error so we can see."