diff options
| -rw-r--r-- | tell.tcl | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 <nick/hostmask> <message>" return 0 } - if {$msg == ""} { + if {$msg eq ""} { putserv "NOTICE $chan :\[tell\] syntax: !tell <nick/hostmask> <message>" 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 } |
