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.
Old posts that have not been replied to for several years.
ReaLz
Op
Posts: 121 Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece
Post
by ReaLz » Mon Apr 28, 2003 9:40 am
could someone make a simple tcl script for me that will restart the bot every 24 hours?
«A fantastic spaghetti is a spaghetti that does not exist»
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Mon Apr 28, 2003 9:46 am
Depending on what there this is to run, you have one fo two ways.
Run a cron job (see botchk and autobotchk).
Or
Code: Select all
bind time - "*" auto:restart
proc auto:restart {m h args} {
if {($min == "01") && ($hour == "01")} {
#only run at 1:01am. It's usualy a little quieter ont he system then
restart
}
}
ReaLz
Op
Posts: 121 Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece
Post
by ReaLz » Wed Apr 30, 2003 5:59 am
Code: Select all
bind time - "*" auto:restart
proc auto:restart {min hour args} {
if {($min == "01") && ($hour == "01")} {
putquick "PART #hellas :Restarting due to data flood."
restart
}
if {($min == "01") && ($hour == "13")} {
putquick "PART #hellas :Restarting due to data flood."
restart
}
}
it doesn't restart
«A fantastic spaghetti is a spaghetti that does not exist»
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Wed Apr 30, 2003 6:03 am
What errors if any, does it give in the partyline?
ReaLz
Op
Posts: 121 Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece
Post
by ReaLz » Wed Apr 30, 2003 1:46 pm
oops sorry it works
«A fantastic spaghetti is a spaghetti that does not exist»