var/LogName=time2text(world.timeofday, "MM/DD/YYYY")
mob
verb
Say(T as text)
set hidden=1
var/format="[usr.ckey]: [html_encode(T)]"
text2file(format,{"[LogName].txt"})
world<<format
Problem description:
I know this is a pretty novice problem but I can not find a work around. When the log is created it is supposed to use the date as its name, but doing this makes it create two directory's with the file name being the year. How would I go about fixing this, I tried isolating the var in {} and ''.
You can use hyphens. I recommend using the format YYYY-MM-DD so that you can use sorting when viewing the logs in a folder.