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.

LogZipper

Old posts that have not been replied to for several years.
Locked
a
ac3r0

LogZipper

Post by ac3r0 »

anybody here who uses LogZipper.tcl?? i'm confused as to what directory this script is referring to

Code: Select all

set lz(logloc) "logs/"

	lz(logloc) is the relative path of the directory where you
	keep the logfiles. Leave trailing / as is.
if i put my logfiles in /home/blahblah/eggdrop/ what should i put as the directory???
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

use ./
a
ac3r0

Post by ac3r0 »

"./" ?? including the "." ??
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Yes.

There is a special reasonf or this.

A single dot (.) means current dir, while a double dot (..) means the parent dir.

However, a / at the begining of the directory means start from the loweset level, and is used for absolute paths.

Seeing as the script requires a relative path from the bots dir, you can't start it /.

It states it needs the / to remain.

As the logs are stored in the bots dir, this doesn't need a value, but it still requires the /. As noted, not possible.

So you tell it to stay int eh current dir with the single dot, and then add the slash.

It may also be a case, that you can even set this to "" (blank), but there is no gurentee without looking at the code, if it supports this. So sticking to the layed out format is the way to go.
a
ac3r0

Post by ac3r0 »

tnx a lot
Locked