From 644ca445356bf755a9391544e0322037bcadf404 Mon Sep 17 00:00:00 2001 From: John Runyon Date: Mon, 27 Oct 2025 15:27:50 -0600 Subject: tell - update equality test --- tell.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tell.tcl b/tell.tcl index 26555fd..f8e72ea 100644 --- a/tell.tcl +++ b/tell.tcl @@ -19,17 +19,17 @@ proc tell {nick uhost hand chan text} { set msg [join [lrange [split $text] 1 end] " "] set message [format "\[%s\] <%s> %s" [clock format [clock seconds] -format "%Y-%m-%dT%H:%M:%SZ" -gmt true] $nick $msg] - if {$target == ""} { + if {$target eq ""} { putserv "NOTICE $chan :\[tell\] syntax: !tell " return 0 } - if {$msg == ""} { + if {$msg eq ""} { putserv "NOTICE $chan :\[tell\] syntax: !tell " return 0 } - if {$target == $nick} { + if {$target eq $nick} { putserv "NOTICE $nick :\[tell\] look at the shape you're in, talking to the walls again..." return 0 } -- cgit v1.3.1-10-gc9f91