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.

i need a tcl that restarts the bot

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

Post by CafeiN »

i strongly need a tcl that restarts the bot within specified hours(or minutes). the tcl must warn channel before restart. e.g. bot is restarting. pls wait for it to come back.

i will be very glad if anyone helps.
b
blaster^

Post by blaster^ »

try something like :

bind time "0 1 * * *" bot_restart
proc bot_restart { mn h d m y } {
foreach c [channels] {
putserv "PRIVMSG $c :I'm going to restart. see you in a min"
}
restart
}
C
CafeiN

Post by CafeiN »

this doesn't work any other comments?
Locked