PDA

View Full Version : Making iozs newday work right with dzsbot newdate announce?


Superblue
06-04-2003, 02:29 PM
I am having probs getting my newday to announce properly.

This is the var line in dzsbot:
set variables(NEWDATE) "%pf"

This is the announce line:
set announce(NEWDATE) "%color4\[%section\]%color - That's it! New day has come, change your current %bold%path%bold dir to %bold%release%bold"

This is what iozs is writing to ioFTPD.log:
06-04-2003 15:00:51 NEWDATE: "/0604" "A new Day has come! Yesterday there were 99 releases totalling 6.1GB."

And this is what dzsbot is announcing:
[DEFAULT] - That's it! New day has come, change your current dir to 0604



Basically I want to know how I can get the "Yesterday there were xx rls totalling xx" into the announcement, or if I can at all.

b>d>>s
06-05-2003, 07:09 PM
ok, i havent tested this but it might work

set variables(NEWDATE) "%pf %msg"


set announce(NEWDATE) "-%sitename- \[%section\] + %msg Your current %bold%path%bold dir is now %bold%release%bold"

iithats only a guess tho i cant see why not!!