Old posts that have not been replied to for several years.
C
Cleaner
Post
by Cleaner » Sat Mar 30, 2002 11:24 pm
Im Searching for an TCL Script for my Bot, that displays a public message all 10 Minutes. Does anyone knows a script like this, or must i write it myself ?
THX
CLEANER
M
Mordred
Post
by Mordred » Sun Mar 31, 2002 12:35 pm
if {![info exists timedmessage_running]} {
timer 10 "timedmessage"
set timedmessage_running 1
}
proc timedmessage {} {
putserv "PRIVMSG #channelofyourchoice :Text to be repeated"
timer 10 "timedmessage"
return 1
}
M
Mordred
Post
by Mordred » Sun Mar 31, 2002 12:38 pm
might also be able to do it with a bind command, depending on how the wildcards are interpretted. Maybe someone else can say if this is valid:
bind time - "* *0 * * *" {putserv "PRIVMSG #channelofyourchoice :Text to be repeated"}