From 28a28fb1ea412b2a3bb95c1e96b9d3d81eff176a Mon Sep 17 00:00:00 2001 From: steering7253 Date: Wed, 26 Nov 2025 17:10:21 -0700 Subject: convert reminder to tell if theyre gone --- remind.tcl | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/remind.tcl b/remind.tcl index 5593ef9..e27805e 100644 --- a/remind.tcl +++ b/remind.tcl @@ -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" } -- cgit v1.3.1-10-gc9f91