1 diff -urN eggdrop1.6.15/scripts/autobotchk eggdrop1.6.15-autobotchk/scripts/autobotchk
2 --- eggdrop1.6.15/scripts/autobotchk Mon May 5 00:05:32 2003
3 +++ eggdrop1.6.15-autobotchk/scripts/autobotchk Tue May 6 15:38:37 2003
7 # If you renamed your eggdrop binary, you should change this variable
9 +set binary "/usr/bin/eggdrop"
11 while {[set opt [newsplit argv]] != ""} {
15 set dir [string trimright $dir /]
17 -if {![file exists $dir/help] || ![file isdirectory $dir/help]} {
18 - puts "*** ERROR: are you sure you are running from a bot directory?"
21 -} elseif {![file exists $dir/$binary]} {
22 - puts "*** ERROR: are you sure you are running from a bot directory?"
27 puts -nonewline "Opening '$config' for processing ... "
29 if {[catch {open $dir/$config r} fd]} {