aboutsummaryrefslogtreecommitdiff
path: root/remind.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Fix remind-to-tell, pretend the tell came from the bot HEAD mainGravatar steering72535 days1-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also maybe fix loading remind.tcl on startup or something i dunno diff --git a/remind.tcl b/remind.tcl index d6a4699..fe1d774 100644 --- a/remind.tcl +++ b/remind.tcl @@ -85,8 +85,9 @@ proc printReminder {reminderId {tonick ""} {fire "false"}} { putserv "PRIVMSG $chan :\[remind\] $who: $what" } else { putserv "PRIVMSG $chan :!tell $who \[remind\] $what" + putlog "PRIVMSG $chan :!tell $who \[remind\] $what" #tell {nick uhost hand chan text} - tell $who "" "" $chan "$who \[remind\] $what" + tell $::nick "" "" $chan "$who \[remind\] $what" } } else { putserv "NOTICE $tonick :\[remind\] $reminderId: for $who at $when: $what" @@ -290,7 +291,7 @@ proc pub:inspectReminders {nick host handle chan text} { putserv "NOTICE $nick :Timers: $timerString" } -proc initReminders {} { +proc initReminders {type} { global reminders set reminderString [array get reminders] @@ -327,7 +328,7 @@ if {$content == ""} { array set reminders $content -initReminders +bind evnt - "loaded" initReminders ###################################
* remind - error out if any of the fields are empty, not just the firstGravatar steering72532026-01-181-1/+1
|
* convert reminder to tell if theyre goneGravatar steering72532025-11-261-1/+7
|
* space2tabGravatar steering72532025-11-261-189/+189
|
* initGravatar fireonlive2024-10-231-0/+330