Sfoglia il codice sorgente

add missing log messages when loading scripts

Signed-off-by: hwipl <33433250+hwipl@users.noreply.github.com>
hwipl 6 anni fa
parent
commit
1cba1c7ddc
6 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 1 0
      scripts/help.tcl
  2. 1 0
      scripts/maketiny.tcl
  3. 1 0
      scripts/match.tcl
  4. 1 0
      scripts/qstat.tcl
  5. 1 0
      scripts/topic.tcl
  6. 1 0
      scripts/watch.tcl

+ 1 - 0
scripts/help.tcl

@@ -50,4 +50,5 @@ proc ::help::show { nick host hand chan arg } {
 
 
 namespace eval ::help {
 namespace eval ::help {
 	bind pub - !help ::help::show
 	bind pub - !help ::help::show
+	putlog "Loaded help.tcl"
 }
 }

+ 1 - 0
scripts/maketiny.tcl

@@ -113,4 +113,5 @@ namespace eval ::maketiny {
 	bind pub - !tinyurl ::maketiny::tinyurl
 	bind pub - !tinyurl ::maketiny::tinyurl
 	bind pub - !tinylast ::maketiny::tinylast
 	bind pub - !tinylast ::maketiny::tinylast
 	bind pubm - * ::maketiny::lasturl
 	bind pubm - * ::maketiny::lasturl
+	putlog "Loaded maketiny.tcl"
 }
 }

+ 1 - 0
scripts/match.tcl

@@ -169,4 +169,5 @@ namespace eval ::match {
 	bind pub - $addcommand ::match::add
 	bind pub - $addcommand ::match::add
 	# bind pub o|o $delcommand ::match::del
 	# bind pub o|o $delcommand ::match::del
 	bind pub - $delcommand ::match::del
 	bind pub - $delcommand ::match::del
+	putlog "Loaded match.tcl"
 }
 }

+ 1 - 0
scripts/qstat.tcl

@@ -316,4 +316,5 @@ namespace eval ::qstat {
 	bind pub - $addcommand ::qstat::addServer
 	bind pub - $addcommand ::qstat::addServer
 	bind pub - $delcommand ::qstat::delServer
 	bind pub - $delcommand ::qstat::delServer
 	bind pub - $refreshcommand ::qstat::refreshServers
 	bind pub - $refreshcommand ::qstat::refreshServers
+	putlog "Loaded qstat.tcl"
 }
 }

+ 1 - 0
scripts/topic.tcl

@@ -78,4 +78,5 @@ namespace eval ::topic {
 	bind pub - !off ::topic::setOffTopic
 	bind pub - !off ::topic::setOffTopic
 	bind pub - !on ::topic::setOnTopic
 	bind pub - !on ::topic::setOnTopic
 	bind pub - !topic ::topic::setTopic
 	bind pub - !topic ::topic::setTopic
+	putlog "Loaded topic.tcl"
 }
 }

+ 1 - 0
scripts/watch.tcl

@@ -287,4 +287,5 @@ proc ::watch::periodic {minute hour day month weekday} {
 namespace eval ::watch {
 namespace eval ::watch {
 	bind pub - !watch ::watch::watchNick
 	bind pub - !watch ::watch::watchNick
 	bind cron - "*/1 * * * *" ::watch::periodic
 	bind cron - "*/1 * * * *" ::watch::periodic
+	putlog "Loaded watch.tcl"
 }
 }