diff options
| -rw-r--r-- | archivebot-chat.tcl | 2 | ||||
| -rw-r--r-- | down-the-tube-chat.tcl | 2 | ||||
| -rw-r--r-- | telegrab-chat.tcl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/archivebot-chat.tcl b/archivebot-chat.tcl index 4affa8f..b664a3c 100644 --- a/archivebot-chat.tcl +++ b/archivebot-chat.tcl @@ -1,7 +1,7 @@ bind pubm * "#archivebot *" abc-privmsg proc abc-privmsg {nick uhost hand chan text} { - if {([string index $text 0] == "!") && ([string index $text 1] != " ")} { + if {([string index $text 0] == "!") && (([string index $text 1] != " ") && ([string length $text] != "1"))} { return 0 } if {([string match "*@archiveteam/Aramaki" $uhost]) || ([string match "*@hackint/user/h2ibot" $uhost])} { diff --git a/down-the-tube-chat.tcl b/down-the-tube-chat.tcl index 4efbe7c..61fd490 100644 --- a/down-the-tube-chat.tcl +++ b/down-the-tube-chat.tcl @@ -1,7 +1,7 @@ bind pubm * "#down-the-tube *" dtt-privmsg proc dtt-privmsg {nick uhost hand chan text} { - if {([string index $text 0] == "!") && ([string index $text 1] != " ")} { + if {([string index $text 0] == "!") && (([string index $text 1] != " ") && ([string length $text] != "1"))} { return 0 } if {([string match "*@archiveteam/Aramaki" $uhost]) || ([string match "*@hackint/user/h2ibot" $uhost])} { diff --git a/telegrab-chat.tcl b/telegrab-chat.tcl index b99dfcf..f48ecad 100644 --- a/telegrab-chat.tcl +++ b/telegrab-chat.tcl @@ -1,7 +1,7 @@ bind pubm * "#telegrab *" telegrab-privmsg proc telegrab-privmsg {nick uhost hand chan text} { - if {([string index $text 0] == "!") && ([string index $text 1] != " ")} { + if {([string index $text 0] == "!") && (([string index $text 1] != " ") && ([string length $text] != "1"))} { return 0 } if {([string match "*@archiveteam/Aramaki" $uhost]) || ([string match "*@hackint/user/h2ibot" $uhost])} { |
