Hi again,
I am trying to create a log system.

First, here is my script:
Code:
on *:TEXT:*:# {
  if ($me == no-nick) { write "C:\Documents and Settings\Sean's\My Documents\Web\Logs\networks\ $+ $network $+ \ $+ $chan $+ \ $+ $asctime($calc($gmt - $duration(0hrs)),dd.mm.yy) $+ \ $+ index.htm" <br><font size="2" face="Verdana"> $asctime($calc($gmt - $duration(0hrs)),h:nntt) GMT - $asctime($calc($gmt - $duration(5hrs)),h.nntt) PST --<b> $nick $+ : </b> $1- }
}

However...
This doesn't seam to work...
Instead I get:
Quote:
-
* /write: unable to open file 'C:\Documents and Settings\Sean's\My Documents\Web\Logs\networks\Ustream\#iwearyourshirt-daily-shirt-s\04.04.09\index.htm' (line 2, onlinelogsTBINT)
-


When I create all the folders needed, it writes correctly, but, the objective of the script is to separate all the logs out into days, so they are more easily readable, and can be uploaded to the internet, to be read if people want it to be. It would be very difficult to have all the folders created, and so I need a way I can automate it.

Thank you very much for any help smile

Last edited by seanturner70; 04/04/09 07:44 PM.