diff options
| -rw-r--r-- | remind.tcl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -81,7 +81,13 @@ proc printReminder {reminderId {tonick ""} {fire "false"}} { set what [lindex $reminder 4] if {$fire} { - putserv "PRIVMSG $chan :\[remind\] $who: $what" + if {[onchan $who $chan]} { + putserv "PRIVMSG $chan :\[remind\] $who: $what" + } else { + putserv "PRIVMSG $chan :!tell $who \[remind\] $what" + #tell {nick uhost hand chan text} + tell $who "" "" $chan "$who \[remind\] $what" + } } else { putserv "NOTICE $tonick :\[remind\] $reminderId: for $who at $when: $what" } |
