This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

TCL message Script?

Old posts that have not been replied to for several years.
Locked
C
Cleaner

Post by Cleaner »

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 »

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 »

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"}
Locked